| OLD | NEW |
| 1 Polymer({ | 1 |
| 2 | 2 |
| 3 Polymer({ |
| 4 |
| 3 is: 'iron-icon', | 5 is: 'iron-icon', |
| 4 | 6 |
| 5 properties: { | 7 properties: { |
| 6 | 8 |
| 7 /** | 9 /** |
| 8 * The name of the icon to use. The name should be of the form: | 10 * The name of the icon to use. The name should be of the form: |
| 9 * `iconset_name:icon_name`. | 11 * `iconset_name:icon_name`. |
| 10 */ | 12 */ |
| 11 icon: { | 13 icon: { |
| 12 type: String, | 14 type: String, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 this._img = document.createElement('img'); | 74 this._img = document.createElement('img'); |
| 73 this._img.style.width = '100%'; | 75 this._img.style.width = '100%'; |
| 74 this._img.style.height = '100%'; | 76 this._img.style.height = '100%'; |
| 75 this._img.draggable = false; | 77 this._img.draggable = false; |
| 76 } | 78 } |
| 77 this._img.src = this.src; | 79 this._img.src = this.src; |
| 78 Polymer.dom(this.root).appendChild(this._img); | 80 Polymer.dom(this.root).appendChild(this._img); |
| 79 } | 81 } |
| 80 } | 82 } |
| 81 | 83 |
| 82 }); | 84 }); |
| 85 |
| 86 |
| OLD | NEW |