| 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 - unless you are editing documentation as per: |
| 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 6 // Auto-generated dart:html library. | 7 // Auto-generated dart:html library. |
| 7 | 8 |
| 8 /// The Dart HTML library. | 9 /// The Dart HTML library. |
| 9 library dart.dom.html; | 10 library dart.dom.html; |
| 10 | 11 |
| 11 import 'dart:async'; | 12 import 'dart:async'; |
| 12 import 'dart:collection'; | 13 import 'dart:collection'; |
| 13 import 'dart:html_common'; | 14 import 'dart:html_common'; |
| 14 import 'dart:indexed_db'; | 15 import 'dart:indexed_db'; |
| 15 import 'dart:isolate'; | 16 import 'dart:isolate'; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 } | 76 } |
| 76 return JS('int', r'window.$dart$isolate$counter++'); | 77 return JS('int', r'window.$dart$isolate$counter++'); |
| 77 } | 78 } |
| 78 | 79 |
| 79 // Fast path to invoke JS send port. | 80 // Fast path to invoke JS send port. |
| 80 _callPortSync(int id, message) { | 81 _callPortSync(int id, message) { |
| 81 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 82 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 82 } | 83 } |
| 83 | 84 |
| 84 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); | 85 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); |
| OLD | NEW |