| OLD | NEW |
| 1 #!mojo mojo:js_content_handler | 1 #!mojo mojo:js_content_handler |
| 2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 define("main", [ | 6 define("main", [ |
| 7 "console", | 7 "console", |
| 8 "mojo/public/js/bindings", | 8 "mojo/public/js/bindings", |
| 9 "mojo/public/js/core", | 9 "mojo/public/js/core", |
| 10 "mojo/services/geometry/public/interfaces/geometry.mojom", | 10 "mojo/services/geometry/interfaces/geometry.mojom", |
| 11 "mojo/services/native_viewport/public/interfaces/native_viewport.mojom", | 11 "mojo/services/native_viewport/interfaces/native_viewport.mojom", |
| 12 "mojo/services/public/js/application", | 12 "mojo/services/public/js/application", |
| 13 "services/js/modules/gl", | 13 "services/js/modules/gl", |
| 14 "services/js/modules/clock", | 14 "services/js/modules/clock", |
| 15 "timer", | 15 "timer", |
| 16 ], function(console, | 16 ], function(console, |
| 17 bindings, | 17 bindings, |
| 18 core, | 18 core, |
| 19 geometry, | 19 geometry, |
| 20 nv, | 20 nv, |
| 21 application, | 21 application, |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 }); | 503 }); |
| 504 } | 504 } |
| 505 | 505 |
| 506 onDestroyed() { | 506 onDestroyed() { |
| 507 this.quit(); | 507 this.quit(); |
| 508 } | 508 } |
| 509 } | 509 } |
| 510 | 510 |
| 511 return CubeDemo; | 511 return CubeDemo; |
| 512 }); | 512 }); |
| OLD | NEW |