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

Side by Side Diff: ui/login/screen.js

Issue 2179033002: Strip comments and whitespace from javascript resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix naming of GN variables, and rebase. Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 Base class for all login WebUI screens. 6 * @fileoverview Base class for all login WebUI screens.
7 */ 7 */
8 cr.define('login', function() { 8 cr.define('login', function() {
9 /** @const */ var CALLBACK_CONTEXT_CHANGED = 'contextChanged'; 9 /** @const */ var CALLBACK_CONTEXT_CHANGED = 'contextChanged';
10 /** @const */ var CALLBACK_USER_ACTED = 'userActed'; 10 /** @const */ var CALLBACK_USER_ACTED = 'userActed';
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 var screen = $(id); 377 var screen = $(id);
378 screen.__proto__ = new Constructor(); 378 screen.__proto__ = new Constructor();
379 379
380 if (opt_lazy_init !== undefined && opt_lazy_init) 380 if (opt_lazy_init !== undefined && opt_lazy_init)
381 screen.deferredInitialization = function() { screen.initialize(); } 381 screen.deferredInitialization = function() { screen.initialize(); }
382 else 382 else
383 screen.initialize(); 383 screen.initialize();
384 Oobe.getInstance().registerScreen(screen); 384 Oobe.getInstance().registerScreen(screen);
385 }; 385 };
386 386
387 cr.define('login', function() { 387 cr.exportPath('login')
Dan Beam 2016/07/28 16:27:05 missing a semi-colon cr.exportPath('login');
aberent 2016/08/02 11:43:30 Done.
388 var result = {}; 388 login[name] = api;
389 result[name] = api;
390 return result;
391 });
392 } 389 }
393 }; 390 };
394 }); 391 });
OLDNEW
« third_party/closure_compiler/js_minify.py ('K') | « tools/grit/grit_rule.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698