-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from PolymerElements/0.8-preview
0.8 preview
- Loading branch information
Showing
11 changed files
with
361 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "*" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.