| OLD | NEW |
| 1 Polymer({ | 1 Polymer({ |
| 2 | 2 |
| 3 is: 'paper-tabs', | 3 is: 'paper-tabs', |
| 4 | 4 |
| 5 behaviors: [ | 5 behaviors: [ |
| 6 Polymer.IronResizableBehavior, | 6 Polymer.IronResizableBehavior, |
| 7 Polymer.IronMenubarBehavior | 7 Polymer.IronMenubarBehavior |
| 8 ], | 8 ], |
| 9 | 9 |
| 10 properties: { | 10 properties: { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 } | 143 } |
| 144 | 144 |
| 145 if (hideThisButton) { | 145 if (hideThisButton) { |
| 146 return 'not-visible'; | 146 return 'not-visible'; |
| 147 } | 147 } |
| 148 | 148 |
| 149 return ''; | 149 return ''; |
| 150 }, | 150 }, |
| 151 | 151 |
| 152 _computeTabsContentClass: function(scrollable) { | 152 _computeTabsContentClass: function(scrollable) { |
| 153 return scrollable ? 'scrollable' : 'horizontal layout'; | 153 return scrollable ? 'scrollable' : 'horizontal'; |
| 154 }, | 154 }, |
| 155 | 155 |
| 156 _computeSelectionBarClass: function(noBar, alignBottom) { | 156 _computeSelectionBarClass: function(noBar, alignBottom) { |
| 157 if (noBar) { | 157 if (noBar) { |
| 158 return 'hidden'; | 158 return 'hidden'; |
| 159 } else if (alignBottom) { | 159 } else if (alignBottom) { |
| 160 return 'align-bottom'; | 160 return 'align-bottom'; |
| 161 } | 161 } |
| 162 }, | 162 }, |
| 163 | 163 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 cl.remove('expand'); | 321 cl.remove('expand'); |
| 322 cl.add('contract'); | 322 cl.add('contract'); |
| 323 this._positionBar(this._pos.width, this._pos.left); | 323 this._positionBar(this._pos.width, this._pos.left); |
| 324 // bar animation done | 324 // bar animation done |
| 325 } else if (cl.contains('contract')) { | 325 } else if (cl.contains('contract')) { |
| 326 cl.remove('contract'); | 326 cl.remove('contract'); |
| 327 } | 327 } |
| 328 } | 328 } |
| 329 | 329 |
| 330 }); | 330 }); |
| OLD | NEW |