| OLD | NEW | 
|   1 Polymer({ |   1 Polymer({ | 
|   2  |   2  | 
|   3     is: 'paper-tab', |   3     is: 'paper-tab', | 
|   4  |   4  | 
|   5     behaviors: [ |   5     behaviors: [ | 
|   6       Polymer.IronControlState |   6       Polymer.IronControlState, | 
 |   7       Polymer.IronButtonState | 
|   7     ], |   8     ], | 
|   8  |   9  | 
|   9     properties: { |  10     properties: { | 
|  10  |  11  | 
|  11       /** |  12       /** | 
|  12        * If true, ink ripple effect is disabled. |  13        * If true, ink ripple effect is disabled. | 
|  13        * |  14        * | 
|  14        * @attribute noink |  15        * @attribute noink | 
|  15        */ |  16        */ | 
|  16       noink: { |  17       noink: { | 
|  17         type: Boolean, |  18         type: Boolean, | 
|  18         value: false |  19         value: false | 
|  19       } |  20       } | 
|  20  |  21  | 
|  21     }, |  22     }, | 
|  22  |  23  | 
|  23     hostAttributes: { |  24     hostAttributes: { | 
|  24       role: 'tab' |  25       role: 'tab' | 
|  25     }, |  26     }, | 
|  26  |  27  | 
|  27     listeners: { |  28     listeners: { | 
|  28       down: '_onDown' |  29       down: '_updateNoink' | 
 |  30     }, | 
 |  31  | 
 |  32     attached: function() { | 
 |  33       this._updateNoink(); | 
|  29     }, |  34     }, | 
|  30  |  35  | 
|  31     get _parentNoink () { |  36     get _parentNoink () { | 
|  32       var parent = Polymer.dom(this).parentNode; |  37       var parent = Polymer.dom(this).parentNode; | 
|  33       return !!parent && !!parent.noink; |  38       return !!parent && !!parent.noink; | 
|  34     }, |  39     }, | 
|  35  |  40  | 
|  36     _onDown: function(e) { |  41     _updateNoink: function() { | 
|  37       this.noink = !!this.noink || !!this._parentNoink; |  42       this.noink = !!this.noink || !!this._parentNoink; | 
|  38     } |  43     } | 
|  39   }); |  44   }); | 
| OLD | NEW |