OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // DO NOT EDIT | 5 // DO NOT EDIT |
6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
7 | 7 |
8 library html; | 8 library html; |
9 | 9 |
10 import 'dart:collection'; | 10 import 'dart:collection'; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 return JS('int', r'window.$dart$isolate$counter++'); | 64 return JS('int', r'window.$dart$isolate$counter++'); |
65 } | 65 } |
66 | 66 |
67 // Fast path to invoke JS send port. | 67 // Fast path to invoke JS send port. |
68 _callPortSync(int id, message) { | 68 _callPortSync(int id, message) { |
69 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 69 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
70 } | 70 } |
71 | 71 |
72 // TODO(vsm): Plumb this properly. | 72 // TODO(vsm): Plumb this properly. |
73 spawnDomFunction(f) => spawnFunction(f); | 73 spawnDomFunction(f) => spawnFunction(f); |
OLD | NEW |