| 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 /// The Dart HTML library. | 8 /// The Dart HTML library. |
| 9 library dart.dom.html; | 9 library dart.dom.html; |
| 10 | 10 |
| 11 import 'dart:async'; | 11 import 'dart:async'; |
| 12 import 'dart:collection'; | 12 import 'dart:collection'; |
| 13 import 'dart:_collection-dev'; |
| 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'; |
| 16 import 'dart:json' as json; | 17 import 'dart:json' as json; |
| 17 import 'dart:math'; | 18 import 'dart:math'; |
| 18 import 'dart:nativewrappers'; | 19 import 'dart:nativewrappers'; |
| 19 import 'dart:typeddata' as _typeddata; | 20 import 'dart:typeddata' as _typeddata; |
| 20 import 'dart:web_gl' as gl; | 21 import 'dart:web_gl' as gl; |
| 21 import 'dart:web_sql'; | 22 import 'dart:web_sql'; |
| 22 // Not actually used, but imported since dart:html can generate these objects. | 23 // Not actually used, but imported since dart:html can generate these objects. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 _callPortLastResult = json.parse(_getPortSyncEventData(event)); | 89 _callPortLastResult = json.parse(_getPortSyncEventData(event)); |
| 89 }); | 90 }); |
| 90 _callPortInitialized = true; | 91 _callPortInitialized = true; |
| 91 } | 92 } |
| 92 assert(_callPortLastResult == null); | 93 assert(_callPortLastResult == null); |
| 93 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); | 94 _dispatchEvent('js-sync-message', {'id': id, 'message': message}); |
| 94 var result = _callPortLastResult; | 95 var result = _callPortLastResult; |
| 95 _callPortLastResult = null; | 96 _callPortLastResult = null; |
| 96 return result; | 97 return result; |
| 97 } | 98 } |
| OLD | NEW |