| OLD | NEW |
| 1 (function () { | 1 (function () { |
| 2 function resolve() { | 2 function resolve() { |
| 3 document.body.removeAttribute('unresolved'); | 3 document.body.removeAttribute('unresolved'); |
| 4 } | 4 } |
| 5 if (window.WebComponents) { | 5 if (window.WebComponents) { |
| 6 addEventListener('WebComponentsReady', resolve); | 6 addEventListener('WebComponentsReady', resolve); |
| 7 } else { | 7 } else { |
| 8 if (document.readyState === 'interactive' || document.readyState === 'complete')
{ | 8 if (document.readyState === 'interactive' || document.readyState === 'complete')
{ |
| 9 resolve(); | 9 resolve(); |
| 10 } else { | 10 } else { |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 try { | 775 try { |
| 776 return JSON.stringify(value); | 776 return JSON.stringify(value); |
| 777 } catch (x) { | 777 } catch (x) { |
| 778 return ''; | 778 return ''; |
| 779 } | 779 } |
| 780 } | 780 } |
| 781 default: | 781 default: |
| 782 return value != null ? value : undefined; | 782 return value != null ? value : undefined; |
| 783 } | 783 } |
| 784 } | 784 } |
| 785 });Polymer.version = "1.8.1";Polymer.Base._addFeature({ | 785 });Polymer.version = "1.9.1";Polymer.Base._addFeature({ |
| 786 _registerFeatures: function () { | 786 _registerFeatures: function () { |
| 787 this._prepIs(); | 787 this._prepIs(); |
| 788 this._prepBehaviors(); | 788 this._prepBehaviors(); |
| 789 this._prepConstructor(); | 789 this._prepConstructor(); |
| 790 this._prepPropertyInfo(); | 790 this._prepPropertyInfo(); |
| 791 }, | 791 }, |
| 792 _prepBehavior: function (b) { | 792 _prepBehavior: function (b) { |
| 793 this._addHostAttributes(b.hostAttributes); | 793 this._addHostAttributes(b.hostAttributes); |
| 794 }, | 794 }, |
| 795 _marshalBehavior: function (b) { | 795 _marshalBehavior: function (b) { |
| 796 }, | 796 }, |
| 797 _initFeatures: function () { | 797 _initFeatures: function () { |
| 798 this._marshalHostAttributes(); | 798 this._marshalHostAttributes(); |
| 799 this._marshalBehaviors(); | 799 this._marshalBehaviors(); |
| 800 } | 800 } |
| 801 }); | 801 }); |
| OLD | NEW |