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/router", [ | 5 define("mojo/public/js/router", [ |
6 "mojo/public/js/codec", | 6 "mojo/public/js/codec", |
7 "mojo/public/js/core", | 7 "mojo/public/js/core", |
8 "mojo/public/js/connector", | 8 "mojo/public/js/connector", |
9 "mojo/public/js/validator", | 9 "mojo/public/js/validator", |
10 ], function(codec, core, connector, validator) { | 10 ], function(codec, core, connector, validator) { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 TestRouter.prototype.handleInvalidIncomingMessage_ = | 136 TestRouter.prototype.handleInvalidIncomingMessage_ = |
137 function(message, error) { | 137 function(message, error) { |
138 this.validationErrorHandler(error); | 138 this.validationErrorHandler(error); |
139 }; | 139 }; |
140 | 140 |
141 var exports = {}; | 141 var exports = {}; |
142 exports.Router = Router; | 142 exports.Router = Router; |
143 exports.TestRouter = TestRouter; | 143 exports.TestRouter = TestRouter; |
144 return exports; | 144 return exports; |
145 }); | 145 }); |
OLD | NEW |