| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated Dart DOM library. | 8 // Auto-generated Dart DOM library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 | 839 |
| 840 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, DOMWindow viewArg, String dataArg) native; | 840 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, DOMWindow viewArg, String dataArg) native; |
| 841 } | 841 } |
| 842 | 842 |
| 843 class Console native "=(typeof console == 'undefined' ? {} : console)" { | 843 class Console native "=(typeof console == 'undefined' ? {} : console)" { |
| 844 | 844 |
| 845 MemoryInfo memory; | 845 MemoryInfo memory; |
| 846 | 846 |
| 847 List profiles; | 847 List profiles; |
| 848 | 848 |
| 849 void assert(bool condition) native; | 849 void assert_(bool condition) native; |
| 850 | 850 |
| 851 void count() native; | 851 void count() native; |
| 852 | 852 |
| 853 void debug(Object arg) native; | 853 void debug(Object arg) native; |
| 854 | 854 |
| 855 void dir() native; | 855 void dir() native; |
| 856 | 856 |
| 857 void dirxml() native; | 857 void dirxml() native; |
| 858 | 858 |
| 859 void error(Object arg) native; | 859 void error(Object arg) native; |
| (...skipping 11249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12109 startIndex = a.length - 1; | 12109 startIndex = a.length - 1; |
| 12110 } | 12110 } |
| 12111 for (int i = startIndex; i >= 0; i--) { | 12111 for (int i = startIndex; i >= 0; i--) { |
| 12112 if (a[i] == element) { | 12112 if (a[i] == element) { |
| 12113 return i; | 12113 return i; |
| 12114 } | 12114 } |
| 12115 } | 12115 } |
| 12116 return -1; | 12116 return -1; |
| 12117 } | 12117 } |
| 12118 } | 12118 } |
| OLD | NEW |