| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 #native('frog_dom.js'); | 3 #native('frog_dom.js'); |
| 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5 // for details. All rights reserved. Use of this source code is governed by a | 5 // for details. All rights reserved. Use of this source code is governed by a |
| 6 // BSD-style license that can be found in the LICENSE file. | 6 // BSD-style license that can be found in the LICENSE file. |
| 7 | 7 |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated Dart DOM library. | 9 // Auto-generated Dart DOM library. |
| 10 | 10 |
| (...skipping 10641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10652 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" { | 10652 class WebKitTransitionEvent extends Event native "*WebKitTransitionEvent" { |
| 10653 | 10653 |
| 10654 num elapsedTime; | 10654 num elapsedTime; |
| 10655 | 10655 |
| 10656 String propertyName; | 10656 String propertyName; |
| 10657 | 10657 |
| 10658 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, String propertyNameArg, num elapsedTimeArg) native; | 10658 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, String propertyNameArg, num elapsedTimeArg) native; |
| 10659 } | 10659 } |
| 10660 | 10660 |
| 10661 class WebSocket native "*WebSocket" { | 10661 class WebSocket native "*WebSocket" { |
| 10662 WebSocket(String url) native; |
| 10663 |
| 10662 | 10664 |
| 10663 static final int CLOSED = 3; | 10665 static final int CLOSED = 3; |
| 10664 | 10666 |
| 10665 static final int CLOSING = 2; | 10667 static final int CLOSING = 2; |
| 10666 | 10668 |
| 10667 static final int CONNECTING = 0; | 10669 static final int CONNECTING = 0; |
| 10668 | 10670 |
| 10669 static final int OPEN = 1; | 10671 static final int OPEN = 1; |
| 10670 | 10672 |
| 10671 String URL; | 10673 String URL; |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11334 startIndex = a.length - 1; | 11336 startIndex = a.length - 1; |
| 11335 } | 11337 } |
| 11336 for (int i = startIndex; i >= 0; i--) { | 11338 for (int i = startIndex; i >= 0; i--) { |
| 11337 if (a[i] == element) { | 11339 if (a[i] == element) { |
| 11338 return i; | 11340 return i; |
| 11339 } | 11341 } |
| 11340 } | 11342 } |
| 11341 return -1; | 11343 return -1; |
| 11342 } | 11344 } |
| 11343 } | 11345 } |
| OLD | NEW |