Skip to content

Commit

Permalink
Merge pull request #1 from PolymerElements/0.8-preview
Browse files Browse the repository at this point in the history
0.8 preview
  • Loading branch information
cdata committed May 5, 2015
2 parents 2e95667 + bcedc76 commit bfe3ed8
Show file tree
Hide file tree
Showing 11 changed files with 361 additions and 256 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
core-localstorage
iron-localstorage
=================

See the [component landing page](http://polymer-project.org/docs/elements/core-elements.html#core-localstorage) for more information.
See the [component landing page](http://www.polymer-project.org/docs/elements/iron-elements.html#iron-localstorage) for more information.
19 changes: 15 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"name": "core-localstorage",
"private": true,
"name": "iron-localstorage",
"version": "0.8.0",
"keywords": [
"web-component",
"web-components",
"polymer"
],
"main": "iron-localstorage.html",
"license": "MIT",
"homepage": "https://github.com/PolymerElements/iron-localstorage/",

"dependencies": {
"polymer": "Polymer/polymer#master"
"polymer": "Polymer/polymer#v0.8.0-rc.7",
},
"devDependencies": {
"web-component-tester": "Polymer/web-component-tester#^1.1.0"
"iron-component-page": "PolymerElements/iron-component-page#^0.8.0",
"test-fixture": "PolymerElements/test-fixture#^0.8.0",
"web-component-tester": "*"
}
}
127 changes: 0 additions & 127 deletions core-localstorage.html

This file was deleted.

50 changes: 0 additions & 50 deletions demo.html

This file was deleted.

38 changes: 38 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>

<title>iron-localstorage</title>

<script src="../../webcomponentsjs/webcomponents-lite.js"></script>

<link rel="import" href="../iron-localstorage.html">

</head>
<body>

<template is="x-autobind">
<p>string entered below will be stored in localStorage and automatically retrived from localStorage when the page is reloaded</p>
<p>If you open another window with this test, changes in one window will propagate to
the other immediately.</p>
<input value="{{value::change}}">
<iron-localstorage name="polymer-localstorage-x-test1" value="{{value}}"></iron-localstorage>
</template>


<template is="x-autobind">
<input type="checkbox" checked="{{mode::change}}">
<iron-localstorage name="polymer-localstorage-x-test2" value="{{mode}}"></iron-localstorage>
</template>

</body>
</html>
19 changes: 10 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<!doctype html>
<!--
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
The complete set of authors may be found at http://polymer.github.io/AUTHORS
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>

<script src="../webcomponentsjs/webcomponents.js"></script>
<link rel="import" href="../core-component-page/core-component-page.html">
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../iron-component-page/iron-component-page.html">

</head>
<body unresolved>
<body>

<core-component-page></core-component-page>
<iron-component-page></iron-component-page>

</body>
</html>
Loading

0 comments on commit bfe3ed8

Please sign in to comment.