OLD | NEW |
1 Polymer.nar = []; | 1 Polymer.nar = []; |
2 | 2 |
3 Polymer.Annotations = { | 3 Polymer.Annotations = { |
4 parseAnnotations: function(template) { | 4 parseAnnotations: function(template) { |
5 var list = []; | 5 var list = []; |
6 var content = template._content || template.content; | 6 var content = template._content || template.content; |
7 this._parseNodeAnnotations(content, list); | 7 this._parseNodeAnnotations(content, list); |
8 return list; | 8 return list; |
9 }, | 9 }, |
10 _parseNodeAnnotations: function(node, list) { | 10 _parseNodeAnnotations: function(node, list) { |
(...skipping 3741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3752 Polymer.Base._initFeatures.call(this); | 3752 Polymer.Base._initFeatures.call(this); |
3753 this._children = Array.prototype.slice.call(this.root.childNodes); | 3753 this._children = Array.prototype.slice.call(this.root.childNodes); |
3754 } | 3754 } |
3755 this._insertChildren(); | 3755 this._insertChildren(); |
3756 this.fire("dom-change"); | 3756 this.fire("dom-change"); |
3757 }, | 3757 }, |
3758 detached: function() { | 3758 detached: function() { |
3759 this._removeChildren(); | 3759 this._removeChildren(); |
3760 } | 3760 } |
3761 }); | 3761 }); |
OLD | NEW |