Index: third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js |
index 579f9c0e290aef892e06c421d6595722c84ed34b..e9a74f079a44278c405b63eaf037751f83485b07 100644 |
--- a/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta-extracted.js |
@@ -15,10 +15,6 @@ |
/** |
* The type of meta-data. All meta-data of the same type is stored |
* together. |
- * |
- * @attribute type |
- * @type String |
- * @default 'default' |
*/ |
type: { |
type: String, |
@@ -28,10 +24,6 @@ |
/** |
* The key used to store `value` under the `type` namespace. |
- * |
- * @attribute key |
- * @type String |
- * @default '' |
*/ |
key: { |
type: String, |
@@ -40,10 +32,6 @@ |
/** |
* The meta-data to store or retrieve. |
- * |
- * @attribute value |
- * @type * |
- * @default this |
*/ |
value: { |
type: Object, |
@@ -53,10 +41,6 @@ |
/** |
* If true, `value` is set to the iron-meta instance itself. |
- * |
- * @attribute self |
- * @type Boolean |
- * @default false |
*/ |
self: { |
type: Boolean, |
@@ -65,9 +49,6 @@ |
/** |
* Array of all meta-data values for the given type. |
- * |
- * @property list |
- * @type Array |
*/ |
list: { |
type: Array, |
@@ -131,8 +112,8 @@ |
* Retrieves meta data value by key. |
* |
* @method byKey |
- * @param {String} key The key of the meta-data to be returned. |
- * @returns * |
+ * @param {string} key The key of the meta-data to be returned. |
+ * @return {*} |
*/ |
byKey: function(key) { |
return this._metaData && this._metaData[key]; |
@@ -179,7 +160,7 @@ |
<iron-meta key="info" value="foo/bar"></iron-meta> |
- Note that keyUrl="foo/bar" is the metadata I've defined. I could define more |
+ Note that value="foo/bar" is the metadata I've defined. I could define more |
attributes or use child nodes to define additional metadata. |
Now I can access that element (and it's metadata) from any `iron-meta-query` instance: |
@@ -198,10 +179,6 @@ |
/** |
* The type of meta-data. All meta-data of the same type is stored |
* together. |
- * |
- * @attribute type |
- * @type String |
- * @default 'default' |
*/ |
type: { |
type: String, |
@@ -212,9 +189,6 @@ |
/** |
* Specifies a key to use for retrieving `value` from the `type` |
* namespace. |
- * |
- * @attribute key |
- * @type String |
*/ |
key: { |
type: String, |
@@ -223,10 +197,6 @@ |
/** |
* The meta-data to store or retrieve. |
- * |
- * @attribute value |
- * @type * |
- * @default this |
*/ |
value: { |
type: Object, |
@@ -236,9 +206,6 @@ |
/** |
* Array of all meta-data values for the given type. |
- * |
- * @property list |
- * @type Array |
*/ |
list: { |
type: Array, |
@@ -251,7 +218,7 @@ |
* Actually a factory method, not a true constructor. Only runs if |
* someone invokes it directly (via `new Polymer.IronMeta()`); |
*/ |
- constructor: function(config) { |
+ factoryImpl: function(config) { |
if (config) { |
for (var n in config) { |
switch(n) { |
@@ -284,10 +251,8 @@ |
/** |
* Retrieves meta data value by key. |
- * |
- * @method byKey |
- * @param {String} key The key of the meta-data to be returned. |
- * @returns * |
+ * @param {string} key The key of the meta-data to be returned. |
+ * @return {*} |
*/ |
byKey: function(key) { |
return this._metaData && this._metaData[key]; |