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

Side by Side Diff: components/chrome_apps/webstore_widget/app/main.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
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.js ('k') | components/neterror/resources/neterror.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 //<include src="../../../../ui/webui/resources/js/cr.js"> 5 // <include src="../../../../ui/webui/resources/js/cr.js">
6 //<include src="../../../../ui/webui/resources/js/load_time_data.js"> 6 // <include src="../../../../ui/webui/resources/js/load_time_data.js">
7 //<include src="../../../../ui/webui/resources/js/i18n_template_no_process.js"> 7 // <include src="../../../../ui/webui/resources/js/i18n_template_no_process.js">
8 //<include src="../../../../ui/webui/resources/js/cr/event_target.js"> 8 // <include src="../../../../ui/webui/resources/js/cr/event_target.js">
9 //<include src="../../../../ui/webui/resources/js/cr/ui/dialogs.js"> 9 // <include src="../../../../ui/webui/resources/js/cr/ui/dialogs.js">
10 10
11 (function() { 11 (function() {
12 'use strict'; 12 'use strict';
13 13
14 //<include src="../cws_widget/app_installer.js"> 14 // <include src="../cws_widget/app_installer.js">
15 //<include src="../cws_widget/cws_webview_client.js"> 15 // <include src="../cws_widget/cws_webview_client.js">
16 //<include src="../cws_widget/cws_widget_container.js"> 16 // <include src="../cws_widget/cws_widget_container.js">
17 //<include src="../cws_widget/cws_widget_container_error_dialog.js"> 17 // <include src="../cws_widget/cws_widget_container_error_dialog.js">
18 18
19 /** 19 /**
20 * @type {?{ 20 * @type {?{
21 * filter: !Object<*>, 21 * filter: !Object<*>,
22 * webstoreUrl: ?string 22 * webstoreUrl: ?string
23 * }} 23 * }}
24 */ 24 */
25 window.params = window.params || null; 25 window.params = window.params || null;
26 26
27 /** 27 /**
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 var result = widgetContainer.finalizeAndGetResult(); 235 var result = widgetContainer.finalizeAndGetResult();
236 showWidgetResult(result.result); 236 showWidgetResult(result.result);
237 }) 237 })
238 /** @param {*} error */ 238 /** @param {*} error */
239 .catch(function(error) { 239 .catch(function(error) {
240 showWidgetResult(CWSWidgetContainer.Result.FAILED); 240 showWidgetResult(CWSWidgetContainer.Result.FAILED);
241 }); 241 });
242 }); 242 });
243 }); 243 });
244 })(); 244 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.js ('k') | components/neterror/resources/neterror.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698