| Index: mojo/public/js/bindings/connection.js
|
| diff --git a/mojo/public/js/bindings/connection.js b/mojo/public/js/bindings/connection.js
|
| index 7d92e8c76d9c126fd5278d4fcd3fd57d9674ecdf..4cfb0cde6e28ca3a8514b188043d4a2199c993bb 100644
|
| --- a/mojo/public/js/bindings/connection.js
|
| +++ b/mojo/public/js/bindings/connection.js
|
| @@ -12,7 +12,7 @@ define("mojo/public/js/bindings/connection", [
|
| if (routerFactory === undefined)
|
| routerFactory = router.Router;
|
| this.router_ = new routerFactory(handle, connectorFactory);
|
| - this.remote = new remoteFactory(this.router_);
|
| + this.remote = remoteFactory && new remoteFactory(this.router_);
|
| this.local = localFactory && new localFactory(this.remote);
|
| this.router_.setIncomingReceiver(this.local);
|
|
|
|
|