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

Unified Diff: mojo/public/js/connector.js

Issue 825613004: Mojo JS Bindings: fix the demos (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/js/codec.js ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/connector.js
diff --git a/mojo/public/js/connector.js b/mojo/public/js/connector.js
index 6578a0e1ce5460b6d44e8f924f0de73fed454222..78ed96366d3b491e38de5c46e18297e3d1c795ef 100644
--- a/mojo/public/js/connector.js
+++ b/mojo/public/js/connector.js
@@ -19,7 +19,8 @@ define("mojo/public/js/connector", [
this.readWaitCookie_ = null;
this.errorHandler_ = null;
- this.waitToReadMore_();
+ if (handle)
+ this.waitToReadMore_();
}
Connector.prototype.close = function() {
« no previous file with comments | « mojo/public/js/codec.js ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698