| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 define("mojo/public/js/bindings", [ | 5 define("mojo/public/js/bindings", [ |
| 6 "mojo/public/js/router", | 6 "mojo/public/js/router", |
| 7 "mojo/public/js/core", | 7 ], function(router) { |
| 8 ], function(router, core) { | |
| 9 | 8 |
| 10 var Router = router.Router; | 9 var Router = router.Router; |
| 11 | 10 |
| 12 var kProxyProperties = Symbol("proxyProperties"); | 11 var kProxyProperties = Symbol("proxyProperties"); |
| 13 var kStubProperties = Symbol("stubProperties"); | 12 var kStubProperties = Symbol("stubProperties"); |
| 14 | 13 |
| 15 // Public proxy class properties that are managed at runtime by the JS | 14 // Public proxy class properties that are managed at runtime by the JS |
| 16 // bindings. See ProxyBindings below. | 15 // bindings. See ProxyBindings below. |
| 17 function ProxyProperties(receiver) { | 16 function ProxyProperties(receiver) { |
| 18 this.receiver = receiver; | 17 this.receiver = receiver; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 107 |
| 109 var exports = {}; | 108 var exports = {}; |
| 110 exports.EmptyProxy = ProxyBase; | 109 exports.EmptyProxy = ProxyBase; |
| 111 exports.EmptyStub = StubBase; | 110 exports.EmptyStub = StubBase; |
| 112 exports.ProxyBase = ProxyBase; | 111 exports.ProxyBase = ProxyBase; |
| 113 exports.ProxyBindings = ProxyBindings; | 112 exports.ProxyBindings = ProxyBindings; |
| 114 exports.StubBase = StubBase; | 113 exports.StubBase = StubBase; |
| 115 exports.StubBindings = StubBindings; | 114 exports.StubBindings = StubBindings; |
| 116 return exports; | 115 return exports; |
| 117 }); | 116 }); |
| OLD | NEW |