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

Unified Diff: Source/devtools/front_end/Runtime.js

Issue 662393007: DevTools: Make compile_frontend.py check code from all applications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comment Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Runtime.js
diff --git a/Source/devtools/front_end/Runtime.js b/Source/devtools/front_end/Runtime.js
index da92eb8febc7f6e88545fc6f96d6f21794f1eab7..ff5c54f9298e5e7d4d77e1f3d39eb44739724fd8 100644
--- a/Source/devtools/front_end/Runtime.js
+++ b/Source/devtools/front_end/Runtime.js
@@ -319,7 +319,7 @@ Runtime.startApplication = function(appName)
*/
function instantiateRuntime(moduleDescriptors)
{
- for (var i = 0; i < moduleDescriptors.length; ++i)
+ for (var i = 0; !Runtime.isReleaseMode() && i < moduleDescriptors.length; ++i)
moduleDescriptors[i]["name"] = configuration[i]["name"];
self.runtime = new Runtime(moduleDescriptors, coreModuleNames);
}
« no previous file with comments | « no previous file | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698