Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

7/11 master -> stable #17

Merged
merged 39 commits into from
Jul 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2b465fa
make pg-output and output to iframe or a new window
frankiefu Jun 17, 2013
5997f72
add missing 'this'
frankiefu Jun 17, 2013
bc4cde5
update projects to reflect changes in polymer-ui-elements
frankiefu Jun 19, 2013
248f221
update PolymerElementsPlayground for polymer-element
Jun 19, 2013
dd7806f
move <link rel="stylesheet"> tags inside of <template>
Jun 19, 2013
863c0c5
update Gallery and Samples for polymer-element; merge changes from
frankiefu Jun 20, 2013
2ee5d19
update to use polymer-element
frankiefu Jun 20, 2013
c7a7b6b
arrange game
sorvell Jun 21, 2013
731b94a
slightly faster startup
sorvell Jun 21, 2013
4ecaf88
arrange-game
sorvell Jun 21, 2013
4864abf
expose count property in pi-feeds
frankiefu Jun 21, 2013
76858fc
expose count property in pi-gfeeds
frankiefu Jun 21, 2013
d26c6f0
update to use the new polymer-element construct
frankiefu Jun 21, 2013
f67f418
fix path
frankiefu Jun 21, 2013
737ad4b
update AceEditor for polymer-element
frankiefu Jun 21, 2013
0a9a3c0
remove todomvc from projects
frankiefu Jun 24, 2013
83951e8
remove todomvc from projects since it is now in its own repo
frankiefu Jun 24, 2013
eadb60c
touch-action scroll -> auto
dfreedm Jun 24, 2013
3eee5cb
update paths for more-elements/polymer-more
sorvell Jun 25, 2013
c53e662
update property blacklist.
sorvell Jun 25, 2013
7549b3e
polymer-element changes:
sorvell Jun 25, 2013
31557fc
add nested menu example in the sub-menu
frankiefu Jun 26, 2013
b9b322e
Merge branch 'master' into polymer-element
dfreedm Jun 26, 2013
35cda39
Merge pull request #16 from Polymer/polymer-element
dfreedm Jun 26, 2013
02b1833
- merge PolymerElementsPlayground into Playground; remove
frankiefu Jun 29, 2013
70a1188
add examples for icon/icon-button using src property
frankiefu Jul 1, 2013
12d14aa
use polymer-ui-icon for toolkit icon logo
frankiefu Jul 1, 2013
43c20b6
set overflow: hidden on the stage element
frankiefu Jul 2, 2013
02a85ae
correct property name
sorvell Jul 2, 2013
947c7d5
make round-tripping work with polymer-element syntax
sorvell Jul 2, 2013
81e3e12
tk-meta: make id property side-effect-able.
sorvell Jul 2, 2013
fbf95a5
include findDistributedTarget
sorvell Jul 2, 2013
a5cfc5d
make publisher able to imperatively register a polymer-element
sorvell Jul 2, 2013
b37cc5f
add accordion example
frankiefu Jul 3, 2013
5d44107
override binding to enable tracking.
sorvell Jul 8, 2013
8c6a155
adjust metadata for changes in polymer-ui-accordion
frankiefu Jul 9, 2013
976585d
playground: add icon next to sidebar menu item
frankiefu Jul 9, 2013
9b51b1f
using binding introspection provided by mdv.
sorvell Jul 9, 2013
804c1f3
don't set id on prototype, instead manually observe the property.
sorvell Jul 11, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AceEditor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</ace-app>


<element name="ace-app" extends="g-app">
<polymer-element name="ace-app" extends="g-app">
<template>
<style>
ajaxorg-ace {
Expand All @@ -49,7 +49,7 @@
</g-panels>
</template>
<script>
Polymer.register(this, {
Polymer('ace-app', {
ready: function() {
this.super();
this.$.ace.value = this.textContent;
Expand All @@ -59,6 +59,6 @@
}
});
</script>
</element>
</polymer-element>
</body>
</html>
3 changes: 2 additions & 1 deletion Gallery/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<link rel="import" href="../../polymer-elements/polymer-meta/polymer-meta.html">
<link rel="import" href="../../polymer-elements/polymer-page/polymer-page.html">
<link rel="import" href="../../polymer-elements/polymer-layout/polymer-flex-layout.html">
<link rel="import" href="../../polymer-elements/polymer-flex-layout/polymer-flex-layout.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-toolbar/polymer-ui-toolbar.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-icon-button/polymer-ui-icon-button.html">
<!-- app -->
Expand Down
10 changes: 5 additions & 5 deletions Gallery/elements/ga-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<element name="ga-app" attributes="metadata" on-select-card="showDetail">
<link rel="stylesheet" href="css/ga-app.css">
<polymer-element name="ga-app" attributes="metadata" on-select-card="showDetail">
<template>
<link rel="stylesheet" href="css/ga-app.css">
<polymer-flex-layout vertical></polymer-flex-layout>
<polymer-ui-toolbar theme="polymer-ui-dark-theme">
<polymer-ui-icon-button icon="menu" hidden="{{mainShowing}}" on-tap="showMain"></polymer-ui-icon-button>
Expand All @@ -25,7 +25,7 @@
<ga-meta id="meta" list="{{metadata}}"></ga-meta>
</template>
<script>
Polymer.register(this, {
Polymer('ga-app', {
selectedPanel: 'main',
searchSlideOpened: false,
inserted: function() {
Expand All @@ -47,7 +47,7 @@
},
searchSlideOpenedChanged: function() {
this.$.main.classList.toggle('slide-opened', this.searchSlideOpened);
if (this.searchSlideOpened) {
if (!this.searchSlideOpened) {
this.$.input.value = '';
this.search();
} else {
Expand All @@ -73,4 +73,4 @@
}
});
</script>
</element>
</polymer-element>
8 changes: 4 additions & 4 deletions Gallery/elements/ga-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<element name="ga-cards" attributes="items selected">
<link rel="stylesheet" href="css/ga-cards.css">
<polymer-element name="ga-cards" attributes="items selected">
<template>
<link rel="stylesheet" href="css/ga-cards.css">
<template repeat="{{items}}">
<div class="card">
<div class="inner" touch-action="none" on-tap="selectCard">
Expand All @@ -17,11 +17,11 @@
</template>
</template>
<script>
Polymer.register(this, {
Polymer('ga-cards', {
selectCard: function(event, detail, sender) {
this.selected = sender.templateInstance.model;
this.fire('select-card');
}
});
</script>
</element>
</polymer-element>
8 changes: 4 additions & 4 deletions Gallery/elements/ga-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<element name="ga-detail" attributes="item">
<link rel="stylesheet" href="css/ga-detail.css">
<polymer-element name="ga-detail" attributes="item">
<template>
<link rel="stylesheet" href="css/ga-detail.css">
<div class="main" touch-action="pan-y">
<div class="inner">
<div class="title">{{item.id}} <span class="label">({{item.label}})</span></div>
Expand All @@ -20,10 +20,10 @@
</div>
</template>
<script>
Polymer.register(this, {
Polymer('ga-detail', {
itemChanged: function() {
this.$.description.innerHTML = this.item.description;
}
});
</script>
</element>
</polymer-element>
41 changes: 4 additions & 37 deletions Gallery/elements/ga-meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,9 @@
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<element name="ga-meta" attributes="list label author publishedDate description imageUrl sourceUrl demoUrl">
<template>
<style>
@host {
* {
display: none;
}
}
</style>
</template>
<polymer-element name="ga-meta" extends="polymer-meta"
attributes="author publishedDate description imageUrl sourceUrl demoUrl">
<script>
var metaData = {}, metaArray = [];
Polymer.register(this, {
ready: function() {
this.idChanged();
},
idChanged: function(old) {
if (this.id && this.id !== 'meta') {
this.unregister(this, old);
metaData[this.id] = this;
metaArray.push(this);
}
},
unregister: function(meta, id) {
delete metaData[id || meta.id];
var i = metaArray.indexOf(meta);
if (i >= 0) {
metaArray.splice(i, 1);
}
},
get list() {
return metaArray;
},
byId: function(id) {
return metaData[id];
}
});
Polymer('ga-meta');
</script>
</element>
</polymer-element>
12 changes: 6 additions & 6 deletions MemoryGame/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="../../polymer/polymer.js"></script>
<script src="game.js"></script>

<element name="g-card" attributes="tile">
<polymer-element name="g-card" attributes="tile">
<link rel="stylesheet" href="card.css">
<template>
<div class="card {{ flipped: tile.flipped }}">
Expand All @@ -20,12 +20,12 @@
</div>
</template>
<script>
Polymer.register(this, {
Polymer('g-card', {
});
</script>
</element>
</polymer-element>

<element name="match-game">
<polymer-element name="match-game">
<template>
<style>
div {
Expand All @@ -44,7 +44,7 @@
<div class="message">{{ game.message }}</div>
</template>
<script>
Polymer.register(this, {
Polymer('match-game', {
ready: function() {
this.game = new Game(['8-ball', 'kronos', 'baked-potato',
'dinosaur', 'rocket', 'skinny-unicorn',
Expand All @@ -55,7 +55,7 @@
}
});
</script>
</element>
</polymer-element>

</head>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
license that can be found in the LICENSE file.
-->

<!-- flex layout css -->
<link rel="stylesheet" href="../../polymer-elements/polymer-flex-layout/polymer-flex-layout.css">

<!-- polymer-elements -->
<link rel="import" href="../../polymer-elements/polymer-layout/polymer-flex-layout.html">
<link rel="import" href="../../polymer-elements/polymer-flex-layout/polymer-flex-layout.html">
<link rel="import" href="../../polymer-elements/polymer-collapse/polymer-collapse.html">
<link rel="import" href="../../polymer-elements/polymer-meta/polymer-meta.html">

<!-- polymer-ui-elements -->
Expand All @@ -18,3 +22,5 @@
<link rel="import" href="../../polymer-ui-elements/polymer-ui-ratings/polymer-ui-ratings.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-toggle-button/polymer-ui-toggle-button.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-tabs/polymer-ui-tabs.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-splitter/polymer-ui-splitter.html">
<link rel="import" href="../../polymer-ui-elements/polymer-ui-accordion/polymer-ui-accordion.html">
Binary file added Playground/favicon.ico
Binary file not shown.
14 changes: 11 additions & 3 deletions Playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
-->
<html>
<head>
<title>Playground</title>
<title>Polymer Playground</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" href="favicon.ico">
<!-- load polymer -->
<script src="../../polymer/polymer.js"></script>
<!-- import elements -->
<link rel="import" href="elements.html">
<link rel="import" href="src/pg-app.html">
<!-- load metadata -->
<link rel="import" href="metadata.html">
<!-- -->
<link rel="stylesheet" href="../../polymer-ui-elements/basic.css">
</head>
<body>
<pg-app></pg-app>
<body class="polymer-ui-body-text">
<pg-app class="polymer-ui-fit" theme="polymer-ui-dark-theme"></pg-app>
</body>
</html>
Loading