Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: chrome/browser/resources/chromeos/login/lock.js

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 Login UI based on a stripped down OOBE controller. 6 * @fileoverview Login UI based on a stripped down OOBE controller.
7 */ 7 */
8 8
9 <include src="login_shared.js"> 9 // <include src="login_shared.js">
10 10
11 /** 11 /**
12 * Asynchronously loads the pin keyboard. 12 * Asynchronously loads the pin keyboard.
13 */ 13 */
14 function showPinKeyboardAsync() { 14 function showPinKeyboardAsync() {
15 'use strict'; 15 'use strict';
16 16
17 // This function could get called multiple times. Do nothing if we have 17 // This function could get called multiple times. Do nothing if we have
18 // already loaded. This check needs to happen before the registerAssets call, 18 // already loaded. This check needs to happen before the registerAssets call,
19 // because that will clobber the loaded state. 19 // because that will clobber the loaded state.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 * Reloads content of the page. 114 * Reloads content of the page.
115 * @param {!Object} data New dictionary with i18n values. 115 * @param {!Object} data New dictionary with i18n values.
116 */ 116 */
117 reloadContent: function(data) { 117 reloadContent: function(data) {
118 loadTimeData.overrideValues(data); 118 loadTimeData.overrideValues(data);
119 i18nTemplate.process(document, loadTimeData); 119 i18nTemplate.process(document, loadTimeData);
120 Oobe.getInstance().updateLocalizedContent_(); 120 Oobe.getInstance().updateLocalizedContent_();
121 }, 121 },
122 }; 122 };
123 }); 123 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/custom_elements_oobe.js ('k') | chrome/browser/resources/chromeos/login/login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698