| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // --------------------------------------------------------------------------- | 5 // --------------------------------------------------------------------------- |
| 6 // Support for JS interoperability | 6 // Support for JS interoperability |
| 7 // --------------------------------------------------------------------------- | 7 // --------------------------------------------------------------------------- |
| 8 function SendPortSync() { | 8 function SendPortSync() { |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 port.receive(f); | 530 port.receive(f); |
| 531 window.registerPort(name, port.toSendPort()); | 531 window.registerPort(name, port.toSendPort()); |
| 532 } | 532 } |
| 533 | 533 |
| 534 makeGlobalPort('dart-js-context', context); | 534 makeGlobalPort('dart-js-context', context); |
| 535 makeGlobalPort('dart-js-create', construct); | 535 makeGlobalPort('dart-js-create', construct); |
| 536 makeGlobalPort('dart-js-instanceof', proxyInstanceof); | 536 makeGlobalPort('dart-js-instanceof', proxyInstanceof); |
| 537 makeGlobalPort('dart-js-delete-property', proxyDeleteProperty); | 537 makeGlobalPort('dart-js-delete-property', proxyDeleteProperty); |
| 538 makeGlobalPort('dart-js-convert', proxyConvert); | 538 makeGlobalPort('dart-js-convert', proxyConvert); |
| 539 })(); | 539 })(); |
| OLD | NEW |