| OLD | NEW |
| 1 #library('dart:dom_deprecated'); | 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 |
| 11 | 11 |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 | 843 |
| 844 void timeEnd(String title, Object arg) native; | 844 void timeEnd(String title, Object arg) native; |
| 845 | 845 |
| 846 void timeStamp(Object arg) native; | 846 void timeStamp(Object arg) native; |
| 847 | 847 |
| 848 void trace(Object arg) native; | 848 void trace(Object arg) native; |
| 849 | 849 |
| 850 void warn(Object arg) native; | 850 void warn(Object arg) native; |
| 851 | 851 |
| 852 | 852 |
| 853 // Keep these in sync with frog_DOMTypeJs.dart. | 853 // Keep these in sync with dart2js_DOMTypeJs.dart. |
| 854 var dartObjectLocalStorage; | 854 var dartObjectLocalStorage; |
| 855 String get typeName() native; | 855 String get typeName() native; |
| 856 } | 856 } |
| 857 | 857 |
| 858 class _ConvolverNodeJs extends _AudioNodeJs implements ConvolverNode native "*Co
nvolverNode" { | 858 class _ConvolverNodeJs extends _AudioNodeJs implements ConvolverNode native "*Co
nvolverNode" { |
| 859 | 859 |
| 860 _AudioBufferJs buffer; | 860 _AudioBufferJs buffer; |
| 861 | 861 |
| 862 bool normalize; | 862 bool normalize; |
| 863 } | 863 } |
| (...skipping 24516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25380 if (length < 0) throw new IllegalArgumentException('length'); | 25380 if (length < 0) throw new IllegalArgumentException('length'); |
| 25381 if (start < 0) throw new IndexOutOfRangeException(start); | 25381 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25382 int end = start + length; | 25382 int end = start + length; |
| 25383 if (end > a.length) throw new IndexOutOfRangeException(end); | 25383 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25384 for (int i = start; i < end; i++) { | 25384 for (int i = start; i < end; i++) { |
| 25385 accumulator.add(a[i]); | 25385 accumulator.add(a[i]); |
| 25386 } | 25386 } |
| 25387 return accumulator; | 25387 return accumulator; |
| 25388 } | 25388 } |
| 25389 } | 25389 } |
| OLD | NEW |