| 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('dart:html'); |
| 9 | 9 |
| 10 #import('dart:isolate'); | 10 #import('dart:isolate'); |
| 11 #import('dart:json'); | 11 #import('dart:json'); |
| 12 | 12 |
| 13 $!GENERATED_DART_FILES | 13 $!GENERATED_DART_FILES |
| 14 | 14 |
| 15 #source('../../dom/src/EventListener.dart'); | 15 #source('../../dom/src/EventListener.dart'); |
| 16 #source('../../dom/src/KeyLocation.dart'); | 16 #source('../../dom/src/KeyLocation.dart'); |
| 17 #source('../../dom/src/KeyName.dart'); | 17 #source('../../dom/src/KeyName.dart'); |
| 18 #source('../../dom/src/ReadyState.dart'); | 18 #source('../../dom/src/ReadyState.dart'); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 if (!window.$dart$isolate$counter) { | 56 if (!window.$dart$isolate$counter) { |
| 57 window.$dart$isolate$counter = 1; | 57 window.$dart$isolate$counter = 1; |
| 58 } | 58 } |
| 59 return window.$dart$isolate$counter++; | 59 return window.$dart$isolate$counter++; |
| 60 '''; | 60 '''; |
| 61 | 61 |
| 62 // Fast path to invoke JS send port. | 62 // Fast path to invoke JS send port. |
| 63 _callPortSync(int id, message) { | 63 _callPortSync(int id, message) { |
| 64 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message); | 64 return JS('var', @'ReceivePortSync.dispatchCall(#, #)', id, message); |
| 65 } | 65 } |
| OLD | NEW |