Commit 84139f1b authored by beriberikix's avatar beriberikix

updated to core-* elements. Can't figure out why localstorage is persisting or what is learn.json

parent a8751631
{
"name": "core-component-page",
"private": true,
"dependencies": {
"platform": "Polymer/platform#>=0.3.0 <1.0.0",
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
},
"homepage": "https://github.com/Polymer/core-component-page",
"version": "0.3.4",
"_release": "0.3.4",
"_resolution": {
"type": "version",
"tag": "0.3.4",
"commit": "4b85fc43eba7c112456044f3d4504cc0a14c7a08"
},
"_source": "git://github.com/Polymer/core-component-page.git",
"_target": ">=0.3.0 <1.0.0",
"_originalSource": "Polymer/core-component-page"
}
\ No newline at end of file
core-component-page
===================
See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-component-page) for more information.
Note: this is the vulcanized version of [`core-component-page-dev`](https://github.com/Polymer/core-component-page-dev) (the source).
{
"name": "core-component-page",
"private": true,
"dependencies": {
"platform": "Polymer/platform#>=0.3.0 <1.0.0",
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
}
}
\ No newline at end of file
<!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
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
-->
<html>
<head>
<script src="../platform/platform.js"></script>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="core-component-page.html">
</head>
<body unresolved>
<core-component-page></core-component-page>
</body>
</html>
<!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
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
-->
<html>
<head>
<script src="../platform/platform.js"></script>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-component-page/core-component-page.html">
</head>
<body unresolved>
<core-component-page></core-component-page>
</body>
</html>
{
"name": "core-localstorage",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
},
"homepage": "https://github.com/Polymer/core-localstorage",
"version": "0.3.4",
"_release": "0.3.4",
"_resolution": {
"type": "version",
"tag": "0.3.4",
"commit": "5493b3efd1ce122f01843e7fb1f7443d85f9f0de"
},
"_source": "git://github.com/Polymer/core-localstorage.git",
"_target": "*",
"_originalSource": "Polymer/core-localstorage"
}
\ No newline at end of file
core-localstorage
=================
See the [component landing page](http://polymer-project.org/docs/elements/core-elements.html#core-localstorage) for more information.
{
"name": "core-localstorage",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
}
}
\ No newline at end of file
<!--
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.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
-->
<!--
Element access to localStorage. The "name" property
is the key to the data ("value" property) stored in localStorage.
`core-localstorage` automatically saves the value to localStorage when
value is changed. Note that if value is an object auto-save will be
triggered only when value is a different instance.
<core-localstorage name="my-app-storage" value="{{value}}"></core-localstorage>
@group Polymer Core Elements
@element core-localstorage
@blurb Element access to localStorage.
@url github.io
@categories Data
-->
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="core-localstorage" attributes="name value useRaw autoSaveDisabled" hidden>
<script>
Polymer('core-localstorage', {
/**
* Fired when a value is loaded from localStorage.
* @event core-localstorage-load
*/
/**
* The key to the data stored in localStorage.
*
* @attribute name
* @type string
* @default null
*/
name: '',
/**
* The data associated with the specified name.
*
* @attribute value
* @type object
* @default null
*/
value: null,
/**
* If true, the value is stored and retrieved without JSON processing.
*
* @attribute useRaw
* @type boolean
* @default false
*/
useRaw: false,
/**
* If true, auto save is disabled.
*
* @attribute autoSaveDisabled
* @type boolean
* @default false
*/
autoSaveDisabled: false,
attached: function() {
// wait for bindings are all setup
this.async('load');
},
valueChanged: function() {
if (this.loaded && !this.autoSaveDisabled) {
this.save();
}
},
load: function() {
var v = localStorage.getItem(this.name);
if (this.useRaw) {
this.value = v;
} else {
// localStorage has a flaw that makes it difficult to determine
// if a key actually exists or not (getItem returns null if the
// key doesn't exist, which is not distinguishable from a stored
// null value)
// however, if not `useRaw`, an (unparsed) null value unambiguously
// signals that there is no value in storage (a stored null value would
// be escaped, i.e. "null")
// in this case we save any non-null current (default) value
if (v === null) {
if (this.value !== null) {
this.save();
}
} else {
try {
v = JSON.parse(v);
} catch(x) {
}
this.value = v;
}
}
this.loaded = true;
this.asyncFire('core-localstorage-load');
},
/**
* Saves the value to localStorage.
*
* @method save
*/
save: function() {
var v = this.useRaw ? this.value : JSON.stringify(this.value);
localStorage.setItem(this.name, v);
}
});
</script>
</polymer-element>
<!doctype html>
<html>
<head>
<title>polymer-localstorage</title>
<script src="../platform/platform.js"></script>
<link rel="import" href="core-localstorage.html">
</head>
<body>
<x-test1></x-test1>
<polymer-element name="x-test1" noscript>
<template>
string entered below will be stored in localStorage and automatically retrived from localStorage when the page is reloaded<br>
<input value="{{value}}">
<core-localstorage name="polymer-localstorage-x-test1" value="{{value}}"></core-localstorage>
</template>
</polymer-element>
<br><br>
<x-test2></x-test2>
<polymer-element name="x-test2">
<template>
<input type="checkbox" checked="{{mode}}">
<core-localstorage name="polymer-localstorage-x-test2" value="{{mode}}"></core-localstorage>
</template>
<script>
Polymer('x-test2', {
mode: false
});
</script>
</polymer-element>
</body>
</html>
<!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
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
-->
<html>
<head>
<script src="../platform/platform.js"></script>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-component-page/core-component-page.html">
</head>
<body unresolved>
<core-component-page></core-component-page>
</body>
</html>
{
"name": "core-selection",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
},
"homepage": "https://github.com/Polymer/core-selection",
"version": "0.3.4",
"_release": "0.3.4",
"_resolution": {
"type": "version",
"tag": "0.3.4",
"commit": "06d7f27c41ffaf31ab52805cffd640a8350940ab"
},
"_source": "git://github.com/Polymer/core-selection.git",
"_target": ">=0.3.0 <1.0.0",
"_originalSource": "Polymer/core-selection"
}
\ No newline at end of file
core-selection
==============
See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-selection) for more information.
{
"name": "core-selection",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
}
}
\ No newline at end of file
<!--
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.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
-->
<!--
@group Polymer Core Elements
The `<core-selection>` element is used to manage selection state. It has no
visual appearance and is typically used in conjunction with another element.
For example, [core-selector](#core-selector)
use a `<core-selection>` to manage selection.
To mark an item as selected, call the `select(item)` method on
`<core-selection>`. The item itself is an argument to this method.
The `<core-selection>`element manages selection state for any given set of
items. When an item is selected, the `core-select` event is fired.
The attribute `multi` indicates if multiple items can be selected at once.
Example:
<polymer-element name="selection-example">
<template>
<style>
polyfill-next-selector { content: ':host > .selected'; }
::content > .selected {
font-weight: bold;
font-style: italic;
}
</style>
<ul on-tap="{{itemTapAction}}">
<content></content>
</ul>
<core-selection id="selection" multi
on-core-select="{{selectAction}}"></core-selection>
</template>
<script>
Polymer('selection-example', {
itemTapAction: function(e, detail, sender) {
this.$.selection.select(e.target);
},
selectAction: function(e, detail, sender) {
detail.item.classList.toggle('selected', detail.isSelected);
}
});
</script>
</polymer-element>
<selection-example>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</selection-example>
@element core-selection
-->
<!--
Fired when an item's selection state is changed. This event is fired both
when an item is selected or deselected. The `isSelected` detail property
contains the selection state.
@event core-select
@param {Object} detail
@param {boolean} detail.isSelected true for selection and false for de-selection
@param {Object} detail.item the item element
-->
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="core-selection" attributes="multi" hidden>
<script>
Polymer('core-selection', {
/**
* If true, multiple selections are allowed.
*
* @attribute multi
* @type boolean
* @default false
*/
multi: false,
ready: function() {
this.clear();
},
clear: function() {
this.selection = [];
},
/**
* Retrieves the selected item(s).
* @method getSelection
* @returns Returns the selected item(s). If the multi property is true,
* getSelection will return an array, otherwise it will return
* the selected item or undefined if there is no selection.
*/
getSelection: function() {
return this.multi ? this.selection : this.selection[0];
},
/**
* Indicates if a given item is selected.
* @method isSelected
* @param {any} item The item whose selection state should be checked.
* @returns Returns true if `item` is selected.
*/
isSelected: function(item) {
return this.selection.indexOf(item) >= 0;
},
setItemSelected: function(item, isSelected) {
if (item !== undefined && item !== null) {
if (isSelected) {
this.selection.push(item);
} else {
var i = this.selection.indexOf(item);
if (i >= 0) {
this.selection.splice(i, 1);
}
}
this.fire("core-select", {isSelected: isSelected, item: item});
}
},
/**
* Set the selection state for a given `item`. If the multi property
* is true, then the selected state of `item` will be toggled; otherwise
* the `item` will be selected.
* @method select
* @param {any} item: The item to select.
*/
select: function(item) {
if (this.multi) {
this.toggle(item);
} else if (this.getSelection() !== item) {
this.setItemSelected(this.getSelection(), false);
this.setItemSelected(item, true);
}
},
/**
* Toggles the selection state for `item`.
* @method toggle
* @param {any} item: The item to toggle.
*/
toggle: function(item) {
this.setItemSelected(item, !this.isSelected(item));
}
});
</script>
</polymer-element>
<!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.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>Selection</title>
<script src="../platform/platform.js"></script>
<link rel="import" href="core-selection.html">
</head>
<body unresolved>
<polymer-element name="selection-example">
<template>
<style>
polyfill-next-selector { content: 'ul > *'; }
::content > * {
cursor: pointer;
}
polyfill-next-selector { content: 'ul > .selected'; }
::content > .selected {
font-weight: bold;
font-style: italic;
}
</style>
<ul on-tap="{{itemTapAction}}">
<content></content>
</ul>
<core-selection id="selection" multi on-core-select="{{selectAction}}"></core-selection>
</template>
<script>
Polymer('selection-example', {
itemTapAction: function(e, detail, sender) {
this.$.selection.select(e.target);
},
selectAction: function(e, detail, sender) {
detail.item.classList.toggle('selected', detail.isSelected);
}
});
</script>
</polymer-element>
<selection-example>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</selection-example>
</body>
</html>
<!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
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
-->
<html>
<head>
<script src="../platform/platform.js"></script>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-component-page/core-component-page.html">
</head>
<body unresolved>
<core-component-page></core-component-page>
</body>
</html>
{
"name": "core-selector",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0",
"core-selection": "Polymer/core-selection#>=0.3.0 <1.0.0"
},
"homepage": "https://github.com/Polymer/core-selector",
"version": "0.3.4",
"_release": "0.3.4",
"_resolution": {
"type": "version",
"tag": "0.3.4",
"commit": "28ab8c4503172b28f1c3abd2d561473b20e2af7b"
},
"_source": "git://github.com/Polymer/core-selector.git",
"_target": "*",
"_originalSource": "Polymer/core-selector"
}
\ No newline at end of file
core-selector
==============
See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-selector) for more information.
{
"name": "core-selector",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0",
"core-selection": "Polymer/core-selection#>=0.3.0 <1.0.0"
}
}
\ No newline at end of file
<!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.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>Selector</title>
<script src="../platform/platform.js"></script>
<link rel="import" href="core-selector.html">
</head>
<body unresolved>
<polymer-element name="selector-examples">
<template>
<style>
.list {
display: block;
border: 1px solid #ccc;
border-bottom: none;
background: #666;
color: white;
list-style: none;
margin: 0;
padding: 0;
}
.list > * {
height: 40px;
line-height: 40px;
padding: 0 20px;
border-bottom: 1px solid #ccc;
}
.list > *.core-selected {
background: #333;
}
li {
height: 30px;
}
li.core-selected:after {
content: "\2713";
position: absolute;
padding-left: 10px;
}
</style>
<h2>basic</h2>
<core-selector class="list" selected="0">
<div>Item 0</div>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
</core-selector>
<h2>multi-selection</h2>
<core-selector class="list" selected="{{multiSelected}}" multi>
<div>Item 0</div>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
</core-selector>
<h2>list</h2>
<core-selector target="{{$.list}}" selected="0"></core-selector>
<ul id="list">
<li>Item 0</li>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
<h2>binding of a group of radio buttons to a variable</h2>
<core-selector target="{{$.myForm}}" itemsSelector="input[type=radio]"
selected="{{color}}" valueattr="value" selectedProperty="checked"
activateEvent="change"></core-selector>
<form id="myForm">
<label><input type="radio" name="color" value="red"> Red</label> <br>
<label><input type="radio" name="color" value="green"> Green</label> <br>
<label><input type="radio" name="color" value="blue"> Blue</label> <br>
<p>color = {{color}}</p>
</form>
</template>
<script>
Polymer('selector-examples', {
ready: function() {
this.multiSelected = [1, 3];
this.color = 'green';
}
});
</script>
</polymer-element>
<selector-examples></selector-examples>
</body>
</html>
<!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
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
-->
<html>
<head>
<script src="../platform/platform.js"></script>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-component-page/core-component-page.html">
</head>
<body unresolved>
<core-component-page></core-component-page>
</body>
</html>
<x-meta id="core-selector" label="Selector" group="Core" isContainer>
<template>
<core-selector selected="0" style="width:100%;height:50px;"></core-selector>
</template>
<template>
<link rel="import" href="core-selector.html">
</template>
</x-meta>
\ No newline at end of file
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
], ],
"license": "BSD", "license": "BSD",
"private": true, "private": true,
"version": "0.2.1", "version": "0.3.4",
"_release": "0.2.1", "_release": "0.3.4",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "0.2.1", "tag": "0.3.4",
"commit": "961d6f68848b9479d4d778466c37c0835837bc1c" "commit": "4e59041d572d81d633d73868f261fb89a0327501"
}, },
"_source": "git://github.com/Polymer/platform.git", "_source": "git://github.com/Polymer/platform.git",
"_target": "0.2.1", "_target": ">=0.3.0 <1.0.0",
"_originalSource": "Polymer/platform" "_originalSource": "Polymer/platform"
} }
\ No newline at end of file
...@@ -12,6 +12,5 @@ ...@@ -12,6 +12,5 @@
"components" "components"
], ],
"license": "BSD", "license": "BSD",
"private": true, "private": true
"version": "0.2.1"
} }
\ No newline at end of file
BUILD LOG BUILD LOG
--------- ---------
Build Time: 2014-03-07T10:33:27 Build Time: 2014-07-11T11:45:39
NODEJS INFORMATION NODEJS INFORMATION
================== ==================
nodejs: v0.10.26 nodejs: v0.10.28
chai: 1.9.0 chai: 1.9.1
─ assertion-error: 1.0.0 grunt: 0.4.4
┬ deep-eql: 0.1.3 grunt-audit: 0.0.3
└── type-detect: 0.1.1
grunt: 0.4.2
─ async: 0.1.22
─ coffee-script: 1.3.3
─ colors: 0.6.2
─ dateformat: 1.0.2-1.2.3
─ eventemitter2: 0.4.13
─ exit: 0.1.2
┬ findup-sync: 0.1.2
└── lodash: 1.0.1
─ getobject: 0.1.0
┬ glob: 3.1.21
├── graceful-fs: 1.2.3
└── inherits: 1.0.0
─ hooker: 0.2.3
─ iconv-lite: 0.2.11
┬ js-yaml: 2.0.5
├─┬ argparse: 0.1.15
│ ├── underscore: 1.4.4
│ └── underscore.string: 2.3.3
└── esprima: 1.0.4
─ lodash: 0.9.2
┬ minimatch: 0.2.14
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
┬ nopt: 1.0.10
└── abbrev: 1.0.4
┬ rimraf: 2.0.3
└── graceful-fs: 1.1.14
─ underscore.string: 2.2.1
─ which: 1.0.5
grunt-audit: 0.0.2
grunt-concat-sourcemap: 0.4.1 grunt-concat-sourcemap: 0.4.1
┬ source-map: 0.1.32 grunt-contrib-concat: 0.4.0
└── amdefine: 0.1.0 grunt-contrib-uglify: 0.5.0
grunt-contrib-concat: 0.3.0 grunt-contrib-yuidoc: 0.5.2
grunt-contrib-uglify: 0.3.2 grunt-karma: 0.8.3
┬ chalk: 0.4.0 karma: 0.12.14
├── ansi-styles: 1.0.0
├── has-color: 0.1.4
└── strip-ansi: 0.1.1
┬ grunt-lib-contrib: 0.6.1
└── zlib-browserify: 0.0.1
┬ uglify-js: 2.4.12
├── async: 0.2.10
├─┬ optimist: 0.3.7
│ └── wordwrap: 0.0.2
├─┬ source-map: 0.1.32
│ └── amdefine: 0.1.0
└── uglify-to-browserify: 1.0.2
grunt-contrib-yuidoc: 0.5.0
┬ yuidocjs: 0.3.47
├─┬ express: 3.1.2
│ ├── buffer-crc32: 0.2.1
│ ├── commander: 0.6.1
│ ├─┬ connect: 2.7.5
│ │ ├── buffer-crc32: 0.1.1
│ │ ├── bytes: 0.2.0
│ │ ├── formidable: 1.0.11
│ │ ├── pause: 0.0.1
│ │ └── qs: 0.5.1
│ ├── cookie: 0.0.5
│ ├── cookie-signature: 1.0.0
│ ├── debug: 0.7.4
│ ├── fresh: 0.1.0
│ ├── methods: 0.0.1
│ ├── mkdirp: 0.3.5
│ ├── range-parser: 0.0.4
│ └─┬ send: 0.1.0
│ └── mime: 1.2.6
├── graceful-fs: 2.0.1
├── marked: 0.2.10
├─┬ minimatch: 0.2.14
│ ├── lru-cache: 2.5.0
│ └── sigmund: 1.0.0
├─┬ rimraf: 2.0.3
│ └── graceful-fs: 1.1.14
└─┬ yui: 3.9.1
└─┬ request: 2.12.0
├─┬ form-data: 0.0.3
│ ├── async: 0.1.9
│ └─┬ combined-stream: 0.0.3
│ └── delayed-stream: 0.0.5
└── mime: 1.2.7
grunt-karma: 0.6.2
┬ optimist: 0.6.1
├── minimist: 0.0.7
└── wordwrap: 0.0.2
karma: 0.10.9
┬ chokidar: 0.8.1
├── fsevents: 0.1.6 extraneous
└── recursive-readdir: 0.0.2 extraneous
─ coffee-script: 1.6.3
─ colors: 0.6.0-1
┬ connect: 2.8.8
├── buffer-crc32: 0.2.1
├── bytes: 0.2.0
├── cookie: 0.1.0
├── cookie-signature: 1.0.1
├── debug: 0.7.4
├── formidable: 1.0.14
├── fresh: 0.2.0
├── methods: 0.0.1
├── pause: 0.0.1
├── qs: 0.6.5
├─┬ send: 0.1.4
│ └── range-parser: 0.0.4
└── uid2: 0.0.2
─ di: 0.0.1
┬ glob: 3.1.21
└── inherits: 1.0.0
─ graceful-fs: 1.2.3
┬ http-proxy: 0.10.4
├─┬ optimist: 0.6.1
│ ├── minimist: 0.0.7
│ └── wordwrap: 0.0.2
├── pkginfo: 0.3.0
└─┬ utile: 0.2.1
├── async: 0.2.10
├── deep-equal: 0.2.1
├── i: 0.3.2
├── mkdirp: 0.3.5
└── ncp: 0.4.2
─ lodash: 1.1.1
┬ log4js: 0.6.10
├── async: 0.1.15
├─┬ readable-stream: 1.0.25
│ └── string_decoder: 0.10.25-1
└── semver: 1.1.4
─ mime: 1.2.11
┬ minimatch: 0.2.14
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
┬ optimist: 0.3.7
└── wordwrap: 0.0.2
─ q: 0.9.7
─ rimraf: 2.1.4
┬ socket.io: 0.9.16
├── base64id: 0.1.0
├── policyfile: 0.0.4
├── redis: 0.7.3
└─┬ socket.io-client: 0.9.16
├─┬ active-x-obfuscator: 0.0.1
│ └── zeparser: 0.0.5
├── uglify-js: 1.2.5
├─┬ ws: 0.4.31
│ ├── commander: 0.6.1
│ ├── nan: 0.3.2
│ ├── options: 0.0.5
│ └── tinycolor: 0.0.1
└── xmlhttprequest: 1.4.2
┬ useragent: 2.0.7
└── lru-cache: 2.2.4
karma-chrome-launcher: 0.0.2 (git://github.com/morethanreal/karma-chrome-launcher#aaaef751f4c39b4671447f4b62a3462101f8a3c4)
karma-coffee-preprocessor: 0.1.2
─ coffee-script: 1.6.3
karma-crbot-reporter: 0.0.4 karma-crbot-reporter: 0.0.4
karma-firefox-launcher: 0.1.3 karma-firefox-launcher: 0.1.3
karma-html2js-preprocessor: 0.1.0 karma-ie-launcher: 0.1.5
karma-ie-launcher: 0.1.1 karma-mocha: 0.1.4
karma-jasmine: 0.1.5
karma-mocha: 0.1.1
karma-phantomjs-launcher: 0.1.2
┬ phantomjs: 1.9.7-1
├── adm-zip: 0.2.1
├── kew: 0.1.7
├── mkdirp: 0.3.5
├── ncp: 0.4.2
├─┬ npmconf: 0.0.24
│ ├─┬ config-chain: 1.1.8
│ │ └── proto-list: 1.2.2
│ ├── inherits: 1.0.0
│ ├── ini: 1.1.0
│ ├─┬ nopt: 2.1.2
│ │ └── abbrev: 1.0.4
│ ├── once: 1.1.1
│ ├── osenv: 0.0.3
│ └── semver: 1.1.4
├── rimraf: 2.2.6
└── which: 1.0.5
karma-requirejs: 0.2.1
karma-safari-launcher: 0.1.1 karma-safari-launcher: 0.1.1
karma-script-launcher: 0.1.0 karma-script-launcher: 0.1.0
mocha: 1.17.1 mocha: 1.20.1
─ commander: 2.0.0 Platform: 0.3.4
─ debug: 0.7.4
─ diff: 1.0.7
┬ glob: 3.2.3
├── graceful-fs: 2.0.1
├── inherits: 2.0.1
└─┬ minimatch: 0.2.14
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
─ growl: 1.7.0
┬ jade: 0.26.3
├── commander: 0.6.1
└── mkdirp: 0.3.0
─ mkdirp: 0.3.5
requirejs: 2.1.10
REPO REVISIONS REPO REVISIONS
============== ==============
CustomElements: 7be9e6e758903f62df6ba73a5ea82777c37dc273 CustomElements: eef2f8f7d71ba474d40d59c743db049dbf174c0f
HTMLImports: cae0c94f3be4b492c0db686ffdd0288b49dbdfe7 HTMLImports: 5b24a18efe54b3e484ea95c2d28f46d6c4ef016b
NodeBind: 62f7e53baee55d5821747227de9b407da1c261ec NodeBind: c47bc1b40d1cf0123b29620820a7111471e83ff3
PointerEvents: f2964bcc070231c41391cb864fa0c6578031592c ShadowDOM: db04e2193a076120294dbcdc86da6c3680e92828
PointerGestures: f645ec49a0b2fa2e0d4dee40722bb0dab24ae59f TemplateBinding: 2a006d1635241b6a0b8ba11a8250ec1d8dacad7a
ShadowDOM: 4c2f646faa3fe5e5f2625bc16753be11ef2a026e
TemplateBinding: 08008af605298aaf2d56ef34d4af4df70679ea61
WeakMap: a0947a9a0f58f5733f464755c3b86de624b00a5d WeakMap: a0947a9a0f58f5733f464755c3b86de624b00a5d
observe-js: 3d7b5aa5eb7b403ee7be398280113f7cc36e448a observe-js: 18d3996727819eef3f00f9c901b7296b9e8635d3
platform: 59d0c0d8307e9433d0dcd9943c627ab3ba45ac10 platform-dev: 35728d3e1951e77cbd484ed2b51d3da5b8119715
polymer-expressions: 470cced7cf167bd164f0b924ceb088dd7a8240b9
BUILD HASHES BUILD HASHES
============ ============
build/platform.js: 2dd0f0a8ebdaaffd6fecc70158cc3cefce3ad67a build/platform.js: 27fa15cfecf3bb1e3ecd60345606adad9742bc25
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "polymer", "name": "polymer",
"description": "Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.", "private": true,
"homepage": "http://www.polymer-project.org/",
"keywords": [
"util",
"client",
"browser",
"web components",
"web-components"
],
"author": "Polymer Authors <polymer-dev@googlegroups.com>",
"main": [
"polymer.js"
],
"dependencies": { "dependencies": {
"platform": "Polymer/platform#0.2.1" "platform": "Polymer/platform#>=0.3.0 <1.0.0",
"core-component-page": "Polymer/core-component-page#>=0.3.0 <1.0.0"
}, },
"version": "0.2.1", "homepage": "https://github.com/Polymer/polymer",
"_release": "0.2.1", "version": "0.3.4",
"_release": "0.3.4",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "0.2.1", "tag": "0.3.4",
"commit": "62ec4216813ccd9344cf419da846b623892f0884" "commit": "49a331373b78e37b415dca8e360223b2f63c4035"
}, },
"_source": "git://github.com/Polymer/polymer.git", "_source": "git://github.com/Polymer/polymer.git",
"_target": "0.2.1", "_target": ">=0.3.0 <1.0.0",
"_originalSource": "Polymer/polymer" "_originalSource": "Polymer/polymer"
} }
\ No newline at end of file
{ {
"name": "polymer", "name": "polymer",
"description": "Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.", "private": true,
"homepage": "http://www.polymer-project.org/",
"keywords": [
"util",
"client",
"browser",
"web components",
"web-components"
],
"author": "Polymer Authors <polymer-dev@googlegroups.com>",
"main": [
"polymer.js"
],
"dependencies": { "dependencies": {
"platform": "Polymer/platform#0.2.1" "platform": "Polymer/platform#>=0.3.0 <1.0.0",
}, "core-component-page": "Polymer/core-component-page#>=0.3.0 <1.0.0"
"version": "0.2.1" }
} }
\ No newline at end of file
BUILD LOG BUILD LOG
--------- ---------
Build Time: 2014-03-07T11:16:41 Build Time: 2014-07-11T11:45:46
NODEJS INFORMATION NODEJS INFORMATION
================== ==================
nodejs: v0.10.26 nodejs: v0.10.28
chai: 1.9.0 chai: 1.9.1
─ assertion-error: 1.0.0 grunt: 0.4.4
┬ deep-eql: 0.1.3 grunt-audit: 0.0.3
└── type-detect: 0.1.1 grunt-contrib-uglify: 0.4.0
grunt: 0.4.2 grunt-contrib-yuidoc: 0.5.2
─ async: 0.1.22 grunt-karma: 0.8.3
─ coffee-script: 1.3.3 grunt-string-replace: 0.2.7
─ colors: 0.6.2 karma: 0.12.14
─ dateformat: 1.0.2-1.2.3
─ eventemitter2: 0.4.13
─ exit: 0.1.2
┬ findup-sync: 0.1.2
├─┬ glob: 3.1.21
│ ├── graceful-fs: 1.2.3
│ ├── inherits: 1.0.0
│ └─┬ minimatch: 0.2.14
│ ├── lru-cache: 2.5.0
│ └── sigmund: 1.0.0
└── lodash: 1.0.1
─ getobject: 0.1.0
┬ glob: 3.1.21
├── graceful-fs: 1.2.3
└── inherits: 1.0.0
─ hooker: 0.2.3
─ iconv-lite: 0.2.11
┬ js-yaml: 2.0.5
├─┬ argparse: 0.1.15
│ ├── underscore: 1.4.4
│ └── underscore.string: 2.3.3
└── esprima: 1.0.4
─ lodash: 0.9.2
┬ minimatch: 0.2.14
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
┬ nopt: 1.0.10
└── abbrev: 1.0.4
┬ rimraf: 2.0.3
└── graceful-fs: 1.1.14
─ underscore.string: 2.2.1
─ which: 1.0.5
grunt-audit: 0.0.2
grunt-concat-sourcemap: 0.3.2 extraneous
┬ source-map: 0.1.31
└── amdefine: 0.1.0
grunt-contrib-uglify: 0.3.2
┬ chalk: 0.4.0
├── ansi-styles: 1.0.0
├── has-color: 0.1.4
└── strip-ansi: 0.1.1
┬ grunt-lib-contrib: 0.6.1
└── zlib-browserify: 0.0.1
┬ uglify-js: 2.4.12
├── async: 0.2.10
├─┬ optimist: 0.3.7
│ └── wordwrap: 0.0.2
├─┬ source-map: 0.1.32
│ └── amdefine: 0.1.0
└── uglify-to-browserify: 1.0.2
grunt-contrib-yuidoc: 0.5.0
┬ yuidocjs: 0.3.47
├─┬ express: 3.1.2
│ ├── buffer-crc32: 0.2.1
│ ├── commander: 0.6.1
│ ├─┬ connect: 2.7.5
│ │ ├── buffer-crc32: 0.1.1
│ │ ├── bytes: 0.2.0
│ │ ├── formidable: 1.0.11
│ │ ├── pause: 0.0.1
│ │ └── qs: 0.5.1
│ ├── cookie: 0.0.5
│ ├── cookie-signature: 1.0.0
│ ├── debug: 0.7.4
│ ├── fresh: 0.1.0
│ ├── methods: 0.0.1
│ ├── mkdirp: 0.3.5
│ ├── range-parser: 0.0.4
│ └─┬ send: 0.1.0
│ └── mime: 1.2.6
├── graceful-fs: 2.0.1
├── marked: 0.2.10
├─┬ minimatch: 0.2.14
│ ├── lru-cache: 2.5.0
│ └── sigmund: 1.0.0
├─┬ rimraf: 2.0.3
│ └── graceful-fs: 1.1.14
└─┬ yui: 3.9.1
└─┬ request: 2.12.0
├─┬ form-data: 0.0.3
│ ├── async: 0.1.9
│ └─┬ combined-stream: 0.0.3
│ └── delayed-stream: 0.0.5
└── mime: 1.2.7
grunt-karma: 0.6.2
┬ optimist: 0.6.1
├── minimist: 0.0.7
└── wordwrap: 0.0.2
karma: 0.10.8
─ chokidar: 0.7.1
─ coffee-script: 1.6.3
─ colors: 0.6.0-1
┬ connect: 2.8.8
├── buffer-crc32: 0.2.1
├── bytes: 0.2.0
├── cookie: 0.1.0
├── cookie-signature: 1.0.1
├── debug: 0.7.4
├── formidable: 1.0.14
├── fresh: 0.2.0
├── methods: 0.0.1
├── pause: 0.0.1
├── qs: 0.6.5
├─┬ send: 0.1.4
│ └── range-parser: 0.0.4
└── uid2: 0.0.2
─ di: 0.0.1
┬ glob: 3.1.21
└── inherits: 1.0.0
─ graceful-fs: 1.2.3
┬ http-proxy: 0.10.3
├── pkginfo: 0.2.3
└─┬ utile: 0.1.7
├── async: 0.1.22
├── deep-equal: 0.1.0
├── i: 0.3.2
├── mkdirp: 0.3.5
├── ncp: 0.2.7
└── rimraf: 1.0.9
─ lodash: 1.1.1
┬ log4js: 0.6.9
├── async: 0.1.15
├── readable-stream: 1.0.17
└── semver: 1.1.4
─ mime: 1.2.11
┬ minimatch: 0.2.12
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
┬ optimist: 0.3.7
└── wordwrap: 0.0.2
─ q: 0.9.7
─ rimraf: 2.1.4
┬ socket.io: 0.9.16
├── base64id: 0.1.0
├── policyfile: 0.0.4
├── redis: 0.7.3
└─┬ socket.io-client: 0.9.16
├─┬ active-x-obfuscator: 0.0.1
│ └── zeparser: 0.0.5
├── uglify-js: 1.2.5
├─┬ ws: 0.4.31
│ ├── commander: 0.6.1
│ ├── nan: 0.3.2
│ ├── options: 0.0.5
│ └── tinycolor: 0.0.1
└── xmlhttprequest: 1.4.2
┬ useragent: 2.0.7
└── lru-cache: 2.2.4
karma-chrome-launcher: 0.0.2 (git://github.com/morethanreal/karma-chrome-launcher#aaaef751f4c39b4671447f4b62a3462101f8a3c4)
karma-coffee-preprocessor: 0.1.1
─ coffee-script: 1.6.3
karma-crbot-reporter: 0.0.4 karma-crbot-reporter: 0.0.4
karma-firefox-launcher: 0.1.2 karma-firefox-launcher: 0.1.3
karma-html2js-preprocessor: 0.1.0 karma-ie-launcher: 0.1.5
karma-ie-launcher: 0.1.1 karma-mocha: 0.1.3
karma-jasmine: 0.1.4
karma-mocha: 0.1.1
karma-phantomjs-launcher: 0.1.1
┬ phantomjs: 1.9.2-5
├── adm-zip: 0.2.1
├── kew: 0.1.7
├── mkdirp: 0.3.5
├── ncp: 0.4.2
├─┬ npmconf: 0.0.24
│ ├─┬ config-chain: 1.1.8
│ │ └── proto-list: 1.2.2
│ ├── inherits: 1.0.0
│ ├── ini: 1.1.0
│ ├─┬ nopt: 2.1.2
│ │ └── abbrev: 1.0.4
│ ├── once: 1.1.1
│ ├── osenv: 0.0.3
│ └── semver: 1.1.4
├── rimraf: 2.2.5
└── which: 1.0.5
karma-requirejs: 0.2.0
karma-safari-launcher: 0.1.1 karma-safari-launcher: 0.1.1
karma-script-launcher: 0.1.0 karma-script-launcher: 0.1.0
mocha: 1.17.1 mocha: 1.18.2
─ commander: 2.0.0 Polymer: 0.3.4
─ debug: 0.7.4
─ diff: 1.0.7
┬ glob: 3.2.3
├── graceful-fs: 2.0.1
├── inherits: 2.0.1
└─┬ minimatch: 0.2.14
├── lru-cache: 2.5.0
└── sigmund: 1.0.0
─ growl: 1.7.0
┬ jade: 0.26.3
├── commander: 0.6.1
└── mkdirp: 0.3.0
─ mkdirp: 0.3.5
requirejs: 2.1.9
REPO REVISIONS REPO REVISIONS
============== ==============
polymer-dev: 8be93c301aa9ebe36723311f65f0d6cb91f2d8f0 polymer-expressions: 532e3a2be4a6deeb7e47dd1c4fa14c522cdc0576
polymer-gestures: 014f8e1e11ea0c09b4972d8e35c161becdd1c6ef
polymer-dev: 6ad2d610287352433baa407b04cc174631ccb5b5
BUILD HASHES BUILD HASHES
============ ============
build/polymer.js: 23e9b01c3c219c34092ef0ecde69f65df59f8df4 build/polymer.js: ffd85a8ef2d910b63aa17651fe956c22ff1ca8af
\ No newline at end of file \ No newline at end of file
<!--
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.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
-->
<style shim-shadowdom>
/*******************************
Flex Layout
*******************************/
html /deep/ [layout][horizontal], html /deep/ [layout][vertical] {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
html /deep/ [layout][horizontal][inline], html /deep/ [layout][vertical][inline] {
display: -ms-inline-flexbox;
display: -webkit-inline-flex;
display: inline-flex;
}
html /deep/ [layout][horizontal] {
-ms-flex-direction: row;
-webkit-flex-direction: row;
flex-direction: row;
}
html /deep/ [layout][horizontal][reverse] {
-ms-flex-direction: row-reverse;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
}
html /deep/ [layout][vertical] {
-ms-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
}
html /deep/ [layout][vertical][reverse] {
-ms-flex-direction: column-reverse;
-webkit-flex-direction: column-reverse;
flex-direction: column-reverse;
}
html /deep/ [layout][wrap] {
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
html /deep/ [layout][wrap-reverse] {
-ms-flex-wrap: wrap-reverse;
-webkit-flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
}
html /deep/ [flex] {
-ms-flex: 1;
-webkit-flex: 1;
flex: 1;
}
html /deep/ [flex][auto] {
-ms-flex: 1 1 auto;
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
}
html /deep/ [flex][none] {
-ms-flex: none;
-webkit-flex: none;
flex: none;
}
html /deep/ [flex][one] {
-ms-flex: 1;
-webkit-flex: 1;
flex: 1;
}
html /deep/ [flex][two] {
-ms-flex: 2;
-webkit-flex: 2;
flex: 2;
}
html /deep/ [flex][three] {
-ms-flex: 3;
-webkit-flex: 3;
flex: 3;
}
html /deep/ [flex][four] {
-ms-flex: 4;
-webkit-flex: 4;
flex: 4;
}
html /deep/ [flex][five] {
-ms-flex: 5;
-webkit-flex: 5;
flex: 5;
}
html /deep/ [flex][six] {
-ms-flex: 6;
-webkit-flex: 6;
flex: 6;
}
html /deep/ [flex][seven] {
-ms-flex: 7;
-webkit-flex: 7;
flex: 7;
}
html /deep/ [flex][eight] {
-ms-flex: 8;
-webkit-flex: 8;
flex: 8;
}
html /deep/ [flex][nine] {
-ms-flex: 9;
-webkit-flex: 9;
flex: 9;
}
html /deep/ [flex][ten] {
-ms-flex: 10;
-webkit-flex: 10;
flex: 10;
}
html /deep/ [flex][eleven] {
-ms-flex: 11;
-webkit-flex: 11;
flex: 11;
}
html /deep/ [flex][twelve] {
-ms-flex: 12;
-webkit-flex: 12;
flex: 12;
}
/* alignment in cross axis */
html /deep/ [layout][start] {
-ms-flex-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
}
html /deep/ [layout][center] {
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
html /deep/ [layout][end] {
-ms-flex-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
/* alignment in main axis */
html /deep/ [layout][start-justified] {
-ms-flex-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
}
html /deep/ [layout][center-justified] {
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
html /deep/ [layout][end-justified] {
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
}
html /deep/ [layout][around-justified] {
-ms-flex-pack: around;
-webkit-justify-content: space-around;
justify-content: space-around;
}
html /deep/ [layout][justified] {
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
/* self alignment */
html /deep/ [self-start] {
-ms-align-self: flex-start;
-webkit-align-self: flex-start;
align-self: flex-start;
}
html /deep/ [self-center] {
-ms-align-self: center;
-webkit-align-self: center;
align-self: center;
}
html /deep/ [self-end] {
-ms-align-self: flex-end;
-webkit-align-self: flex-end;
align-self: flex-end;
}
html /deep/ [self-stretch] {
-ms-align-self: stretch;
-webkit-align-self: stretch;
align-self: stretch;
}
/*******************************
Other Layout
*******************************/
html /deep/ [block] {
display: block;
}
/* ie support for hidden */
html /deep/ [hidden] {
display: none !important;
}
html /deep/ [relative] {
position: relative;
}
html /deep/ [fit] {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
body[fullbleed] {
margin: 0;
height: 100vh;
}
/*******************************
Other
*******************************/
html /deep/ [segment], html /deep/ segment {
display: block;
position: relative;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
margin: 1em 0.5em;
padding: 1em;
background-color: white;
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
border-radius: 5px 5px 5px 5px;
}
</style>
\ No newline at end of file
<!-- <!--
Copyright 2013 The Polymer Authors. All rights reserved. Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
Use of this source code is governed by a BSD-style This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
license that can be found in the LICENSE file. 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
--> -->
<link rel="import" href="layout.html">
<script src="polymer.js"></script> <script src="polymer.js"></script>
<!-- <link rel="import" href="../polymer-dev/polymer.html"> --> <!--<link rel="import" href="../polymer-dev/polymer.html">-->
<link rel="import" href="polymer-body.html"> \ No newline at end of file
\ No newline at end of file
<link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/polymer-selector/polymer-selector.html"> <link rel="import" href="../bower_components/core-selector/core-selector.html">
<link rel="import" href="../bower_components/flatiron-director/flatiron-director.html"> <link rel="import" href="../bower_components/flatiron-director/flatiron-director.html">
<link rel="import" href="td-input.html"> <link rel="import" href="td-input.html">
<link rel="import" href="td-item.html"> <link rel="import" href="td-item.html">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</section> </section>
<footer id="footer" hidden?="{{model.items.length == 0}}"> <footer id="footer" hidden?="{{model.items.length == 0}}">
<span id="todo-count"><strong>{{model.activeCount}}</strong> {{model.activeCount == 1 ? 'item' : 'items'}} left</span> <span id="todo-count"><strong>{{model.activeCount}}</strong> {{model.activeCount == 1 ? 'item' : 'items'}} left</span>
<polymer-selector id="filters" selected="{{route || 'all'}}"> <core-selector id="filters" selected="{{route || 'all'}}">
<li name="all"> <li name="all">
<a href="../#/">All</a> <a href="../#/">All</a>
</li> </li>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<li name="completed"> <li name="completed">
<a href="../#/completed">Completed</a> <a href="../#/completed">Completed</a>
</li> </li>
</polymer-selector> </core-selector>
<button hidden?="{{model.completedCount == 0}}" id="clear-completed" on-click="{{clearCompletedAction}}">Clear completed ({{model.completedCount}})</button> <button hidden?="{{model.completedCount == 0}}" id="clear-completed" on-click="{{clearCompletedAction}}">Clear completed ({{model.completedCount}})</button>
</footer> </footer>
</section> </section>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<title>Polymer • TodoMVC</title> <title>Polymer • TodoMVC</title>
<link rel="stylesheet" href="app/app.css"> <link rel="stylesheet" href="app/app.css">
<script src="bower_components/platform/platform.js"></script> <script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/polymer-localstorage/polymer-localstorage.html"> <link rel="import" href="bower_components/core-localstorage/core-localstorage.html">
<link rel="import" href="elements/td-model.html"> <link rel="import" href="elements/td-model.html">
<link rel="import" href="elements/td-todos.html"> <link rel="import" href="elements/td-todos.html">
</head> </head>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<header> <header>
<h1>todos</h1> <h1>todos</h1>
</header> </header>
<polymer-localstorage id="storage" name="todos-polymer"></polymer-localstorage> <core-localstorage id="storage" name="todos-polymer"></core-localstorage>
<td-model id="model" storageId="storage"></td-model> <td-model id="model" storageId="storage"></td-model>
<td-todos modelId="model"></td-todos> <td-todos modelId="model"></td-todos>
<footer id="info"> <footer id="info">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment