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

Unified Diff: frog/frogsh

Issue 8769021: Get html-diff running again. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix the frog/world change. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | frog/world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/frogsh
diff --git a/frog/frogsh b/frog/frogsh
index 532821afc9f1eebfbc90c64af0a9f5e5a8e96eb8..a8a3d9bbb993607052c41a8d1184f52a5ee1b125 100755
--- a/frog/frogsh
+++ b/frog/frogsh
@@ -24095,7 +24095,10 @@ World.prototype.runLeg = function() {
}
World.prototype.runCompilationPhases = function() {
var $this = this; // closure support
- var lib = this.withTiming('first pass', this.get$processDartScript());
+ var lib = this.withTiming('first pass', (function () {
+ return $this.processDartScript();
+ })
+ );
this.withTiming('resolve top level', this.get$resolveAll());
if ($globals.experimentalAwaitPhase != null) {
this.withTiming('await translation', to$call$0($globals.experimentalAwaitPhase));
@@ -24152,14 +24155,12 @@ World.prototype.process = function() {
}
}
}
-World.prototype.processDartScript = function() {
- var library = this.getOrAddLibrary($globals.options.dartScript);
+World.prototype.processDartScript = function(script) {
+ if (script == null) script = $globals.options.dartScript;
+ var library = this.getOrAddLibrary(script);
this.process();
return library;
}
-World.prototype.get$processDartScript = function() {
- return World.prototype.processDartScript.bind(this);
-}
World.prototype.resolveAll = function() {
var $$list = this.libraries.getValues();
for (var $$i = this.libraries.getValues().iterator$0(); $$i.hasNext$0(); ) {
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | frog/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698