| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 /** | 5 /** | 
| 6  * @fileoverview 'settings-languages-page' is the settings page | 6  * @fileoverview 'settings-languages-page' is the settings page | 
| 7  * for language and input method settings. | 7  * for language and input method settings. | 
| 8  */ | 8  */ | 
| 9 (function() { | 9 (function() { | 
| 10 'use strict'; | 10 'use strict'; | 
| 11 | 11 | 
| 12 Polymer({ | 12 Polymer({ | 
| 13   is: 'settings-languages-page', | 13   is: 'settings-languages-page', | 
| 14 | 14 | 
| 15   behaviors: [ |  | 
| 16     I18nBehavior, |  | 
| 17   ], |  | 
| 18 |  | 
| 19   properties: { | 15   properties: { | 
| 20     /** | 16     /** | 
| 21      * The current active route. | 17      * The current active route. | 
| 22      */ | 18      */ | 
| 23     currentRoute: { | 19     currentRoute: { | 
| 24       type: Object, | 20       type: Object, | 
| 25       notify: true, | 21       notify: true, | 
| 26     }, | 22     }, | 
| 27 | 23 | 
| 28     /** | 24     /** | 
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 213    * HACK(michaelpg): This is necessary to show the list when navigating to | 209    * HACK(michaelpg): This is necessary to show the list when navigating to | 
| 214    * the sub-page. Remove this function when PolymerElements/neon-animation#60 | 210    * the sub-page. Remove this function when PolymerElements/neon-animation#60 | 
| 215    * is fixed. | 211    * is fixed. | 
| 216    * @param {string} tagName Name of the element containing the <iron-list>. | 212    * @param {string} tagName Name of the element containing the <iron-list>. | 
| 217    */ | 213    */ | 
| 218   forceRenderList_: function(tagName) { | 214   forceRenderList_: function(tagName) { | 
| 219     this.$$(tagName).$$('iron-list').fire('iron-resize'); | 215     this.$$(tagName).$$('iron-list').fire('iron-resize'); | 
| 220   }, | 216   }, | 
| 221 }); | 217 }); | 
| 222 })(); | 218 })(); | 
| OLD | NEW | 
|---|