| OLD | NEW |
| 1 | 1 Polymer({ |
| 2 | 2 |
| 3 Polymer({ | |
| 4 | |
| 5 is: 'paper-tab', | 3 is: 'paper-tab', |
| 6 | 4 |
| 7 behaviors: [ | 5 behaviors: [ |
| 8 Polymer.IronControlState | 6 Polymer.IronControlState |
| 9 ], | 7 ], |
| 10 | 8 |
| 11 properties: { | 9 properties: { |
| 12 | 10 |
| 13 /** | 11 /** |
| 14 * If true, ink ripple effect is disabled. | 12 * If true, ink ripple effect is disabled. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 31 }, | 29 }, |
| 32 | 30 |
| 33 get _parentNoink () { | 31 get _parentNoink () { |
| 34 var parent = Polymer.dom(this).parentNode; | 32 var parent = Polymer.dom(this).parentNode; |
| 35 return !!parent && !!parent.noink; | 33 return !!parent && !!parent.noink; |
| 36 }, | 34 }, |
| 37 | 35 |
| 38 _onDown: function(e) { | 36 _onDown: function(e) { |
| 39 this.noink = !!this.noink || !!this._parentNoink; | 37 this.noink = !!this.noink || !!this._parentNoink; |
| 40 } | 38 } |
| 41 }); | 39 }); |
| 42 | |
| OLD | NEW |