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

Commit 4f185d5

Browse files
author
Arthur Evans
committed
Update components to 0.3.5; remove unused components.
1 parent 4a10dcf commit 4f185d5

204 files changed

Lines changed: 4132 additions & 5608 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

components/core-ajax/.bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
66
},
77
"homepage": "https://github.com/Polymer/core-ajax",
8-
"version": "0.3.3",
9-
"_release": "0.3.3",
8+
"version": "0.3.5",
9+
"_release": "0.3.5",
1010
"_resolution": {
1111
"type": "version",
12-
"tag": "0.3.3",
13-
"commit": "b9cb6d8e2a5b91cbe752bdb89f5c58cadf92fad6"
12+
"tag": "0.3.5",
13+
"commit": "c77d87791086fdd96f860d15f9ca3d8261d80d5a"
1414
},
1515
"_source": "git://github.com/Polymer/core-ajax.git",
1616
"_target": "*",

components/core-ajax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
core-ajax
22
=========
33

4-
See the [component page](http://polymer.github.io/core-ajax) for more information.
4+
See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-ajax) for more information.

components/core-ajax/core-ajax.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
@homepage github.io
3333
-->
3434
<link rel="import" href="core-xhr.html">
35-
<polymer-element name="core-ajax" attributes="url handleAs auto params response method headers body contentType withCredentials">
35+
<polymer-element name="core-ajax" hidden attributes="url handleAs auto params response method headers body contentType withCredentials">
3636
<script>
3737

3838
Polymer('core-ajax', {
@@ -238,6 +238,9 @@
238238
try {
239239
return JSON.parse(r);
240240
} catch (x) {
241+
console.warn('core-ajax caught an exception trying to parse reponse as JSON:');
242+
console.warn('url:', this.url);
243+
console.warn(x);
241244
return r;
242245
}
243246
},

components/core-ajax/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<head>
1212

1313
<script src="../platform/platform.js"></script>
14-
<link rel="import" href="../polymer/polymer.html">
1514
<link rel="import" href="../core-component-page/core-component-page.html">
1615

1716
</head>

components/core-collapse/.bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
66
},
77
"homepage": "https://github.com/Polymer/core-collapse",
8-
"version": "0.3.3",
9-
"_release": "0.3.3",
8+
"version": "0.3.5",
9+
"_release": "0.3.5",
1010
"_resolution": {
1111
"type": "version",
12-
"tag": "0.3.3",
13-
"commit": "358ad316615bd7a5bd40fef2f078973d46d4e8ee"
12+
"tag": "0.3.5",
13+
"commit": "7a0b808dcfaf4c117dbc1bf0d02fa2b2d5c8e1e8"
1414
},
1515
"_source": "git://github.com/Polymer/core-collapse.git",
1616
"_target": ">=0.3.0 <1.0.0",

components/core-collapse/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
core-collapse
22
=============
33

4-
See the [component page](http://polymer.github.io/core-collapse) for more information.
4+
See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-collapse) for more information.

components/core-collapse/core-collapse.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
<button on-click="{{toggle}}">toggle collapse</button>
1515
16-
<core-collapse id="collapse"></core-collapse>
16+
<core-collapse id="collapse">
1717
...
1818
</core-collapse>
1919
@@ -40,6 +40,12 @@
4040
<script>
4141

4242
Polymer('core-collapse', {
43+
/**
44+
* Fired when the target element has been resized as a result of the opened
45+
* state changing.
46+
*
47+
* @event core-resize
48+
*/
4349

4450
/**
4551
* The target element.
@@ -165,6 +171,7 @@
165171
}
166172
this.setTransitionDuration(null);
167173
this.toggleClosedClass(!this.opened);
174+
this.asyncFire('core-resize', null, this.target);
168175
},
169176

170177
toggleClosedClass: function(closed) {

components/core-collapse/demo.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
<link rel="import" href="core-collapse.html">
1010

1111
<style>
12-
12+
body {
13+
overflow: auto;
14+
margin: 8px 24px;
15+
}
16+
17+
1318
.box {
1419
background: #eee;
1520
}
@@ -27,7 +32,7 @@
2732
</head>
2833
<body unresolved>
2934

30-
<section style="background: blue; width: 800px;">
35+
<section style="background: steelblue;">
3136

3237
<button onclick="document.querySelector('#collapse1').toggle()">toggle collapse</button>
3338

@@ -37,7 +42,7 @@
3742

3843
</section>
3944

40-
<section style="background: green; width: 800px;">
45+
<section style="background: seagreen;">
4146

4247
<button onclick="document.querySelector('#collapse2').toggle()">toggle collapse</button>
4348

components/core-collapse/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<head>
1212

1313
<script src="../platform/platform.js"></script>
14-
<link rel="import" href="../polymer/polymer.html">
1514
<link rel="import" href="../core-component-page/core-component-page.html">
1615

1716
</head>

components/core-component-page/.bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"polymer": "Polymer/polymer#>=0.3.0 <1.0.0"
77
},
88
"homepage": "https://github.com/Polymer/core-component-page",
9-
"version": "0.3.3",
10-
"_release": "0.3.3",
9+
"version": "0.3.5",
10+
"_release": "0.3.5",
1111
"_resolution": {
1212
"type": "version",
13-
"tag": "0.3.3",
14-
"commit": "31ff29fa197310d0d9e7e043c0dab8d0f9a511cf"
13+
"tag": "0.3.5",
14+
"commit": "87617aa1282994eecf5f1f57ef149155ed96f7f1"
1515
},
1616
"_source": "git://github.com/Polymer/core-component-page.git",
1717
"_target": ">=0.3.0 <1.0.0",

0 commit comments

Comments
 (0)