From eea6526355071bfd5d37b0faf2daed8bd439cae3 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Sat, 26 Mar 2016 13:14:16 +0100 Subject: [PATCH] Initial commit --- .gitignore | 1 + README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++ bower.json | 27 +++++++++++++++++++++ demo/index.html | 36 ++++++++++++++++++++++++++++ index.html | 29 +++++++++++++++++++++++ iron-lazy-pages.html | 35 +++++++++++++++++++++++++++ test/basic-test.html | 56 ++++++++++++++++++++++++++++++++++++++++++++ test/index.html | 27 +++++++++++++++++++++ 8 files changed, 267 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 bower.json create mode 100644 demo/index.html create mode 100644 index.html create mode 100644 iron-lazy-pages.html create mode 100644 test/basic-test.html create mode 100755 test/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d4ae25 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/README.md b/README.md new file mode 100644 index 0000000..0cbb805 --- /dev/null +++ b/README.md @@ -0,0 +1,56 @@ +# iron-lazy-pages + +An element providing a starting point for your own reusable Polymer elements. + + +## Dependencies + +Element dependencies are managed via [Bower](http://bower.io/). You can +install that via: + + npm install -g bower + +Then, go ahead and download the element's dependencies: + + bower install + + +## Playing With Your Element + +If you wish to work on your element in isolation, we recommend that you use +[Polyserve](https://github.com/PolymerLabs/polyserve) to keep your element's +bower dependencies in line. You can install it via: + + npm install -g polyserve + +And you can run it via: + + polyserve + +Once running, you can preview your element at +`http://localhost:8080/components/iron-lazy-pages/`, where `iron-lazy-pages` is the name of the directory containing it. + + +## Testing Your Element + +Simply navigate to the `/test` directory of your element to run its tests. If +you are using Polyserve: `http://localhost:8080/components/iron-lazy-pages/test/` + +### web-component-tester + +The tests are compatible with [web-component-tester](https://github.com/Polymer/web-component-tester). +Install it via: + + npm install -g web-component-tester + +Then, you can run your tests on _all_ of your local browsers via: + + wct + +#### WCT Tips + +`wct -l chrome` will only run tests in chrome. + +`wct -p` will keep the browsers alive after test runs (refresh to re-run). + +`wct test/some-file.html` will test only the files you specify. diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..3519393 --- /dev/null +++ b/bower.json @@ -0,0 +1,27 @@ +{ + "name": "iron-lazy-pages", + "version": "1.0.1", + "authors": [ + "Anonymous " + ], + "description": "An element providing a solution to no problem in particular.", + "keywords": [ + "web-component", + "polymer", + "seed" + ], + "main": "iron-lazy-pages.html", + "license": "http://polymer.github.io/LICENSE.txt", + "homepage": "https://github.com//seed-element/", + "ignore": [ + "/.*", + "/test/" + ], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", + "web-component-tester": "*" + } +} \ No newline at end of file diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..06de422 --- /dev/null +++ b/demo/index.html @@ -0,0 +1,36 @@ + + + + + + + iron-lazy-pages Demo + + + + + +

An example of <iron-lazy-pages>:

+ + + + +

Hello iron-lazy-pages

+
+ + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..be747ba --- /dev/null +++ b/index.html @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + diff --git a/iron-lazy-pages.html b/iron-lazy-pages.html new file mode 100644 index 0000000..68e05a7 --- /dev/null +++ b/iron-lazy-pages.html @@ -0,0 +1,35 @@ + + + + + + + + + diff --git a/test/basic-test.html b/test/basic-test.html new file mode 100644 index 0000000..ff763f8 --- /dev/null +++ b/test/basic-test.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/index.html b/test/index.html new file mode 100755 index 0000000..eb77239 --- /dev/null +++ b/test/index.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + +