Skip to content

Instantly share code, notes, and snippets.

@valdrinkoshi
valdrinkoshi / .travis.yml
Created March 17, 2017 18:19
polymer-cli: travis and package.json templates
language: node_js
sudo: required
install: yarn install
node_js: '6'
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
@valdrinkoshi
valdrinkoshi / basic.html
Last active March 24, 2017 18:26
WCT config setup
<html><head>
<title>basic test</title>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script>
test('no environment imports!', function() {
assert.equal(document.querySelectorAll('link[rel="import"]'), 0);
});
</script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<title>Sticky dialog</title>
<base href="https://polygit.org/polymer+v2.0.1/webcomponentsjs+v1.0.1/shadycss+webcomponents+v1.0.1/paper*+v2.0.0/iron*+v2.0.0/app*+v2.0.0/neon*+v2.0.0/components/">