| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 DOM implementation. | 6 // Auto-generated Dart DOM implementation. |
| 7 | 7 |
| 8 function DOM$EnsureDartNull(value) { | 8 function DOM$EnsureDartNull(value) { |
| 9 return value === null ? (void 0) : value; | 9 return value === null ? (void 0) : value; |
| 10 } | 10 } |
| (...skipping 7648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7659 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th
is.rangeOverflow); }; | 7659 c.prototype.rangeOverflow$getter = function() { return DOM$EnsureDartNull(th
is.rangeOverflow); }; |
| 7660 c.prototype.rangeUnderflow$getter = function() { return DOM$EnsureDartNull(t
his.rangeUnderflow); }; | 7660 c.prototype.rangeUnderflow$getter = function() { return DOM$EnsureDartNull(t
his.rangeUnderflow); }; |
| 7661 c.prototype.stepMismatch$getter = function() { return DOM$EnsureDartNull(thi
s.stepMismatch); }; | 7661 c.prototype.stepMismatch$getter = function() { return DOM$EnsureDartNull(thi
s.stepMismatch); }; |
| 7662 c.prototype.tooLong$getter = function() { return DOM$EnsureDartNull(this.too
Long); }; | 7662 c.prototype.tooLong$getter = function() { return DOM$EnsureDartNull(this.too
Long); }; |
| 7663 c.prototype.typeMismatch$getter = function() { return DOM$EnsureDartNull(thi
s.typeMismatch); }; | 7663 c.prototype.typeMismatch$getter = function() { return DOM$EnsureDartNull(thi
s.typeMismatch); }; |
| 7664 c.prototype.valid$getter = function() { return DOM$EnsureDartNull(this.valid
); }; | 7664 c.prototype.valid$getter = function() { return DOM$EnsureDartNull(this.valid
); }; |
| 7665 c.prototype.valueMissing$getter = function() { return DOM$EnsureDartNull(thi
s.valueMissing); }; | 7665 c.prototype.valueMissing$getter = function() { return DOM$EnsureDartNull(thi
s.valueMissing); }; |
| 7666 } | 7666 } |
| 7667 c.$implements$ValidityState$Dart = 1; | 7667 c.$implements$ValidityState$Dart = 1; |
| 7668 } | 7668 } |
| 7669 function DOM$fixClass$VoidCallback(c) { | |
| 7670 if (c.prototype) { | |
| 7671 } | |
| 7672 DOM$fixMembers(c, ['handleEvent']); | |
| 7673 c.$implements$VoidCallback$Dart = 1; | |
| 7674 } | |
| 7675 function DOM$fixClass$WaveShaperNode(c) { | 7669 function DOM$fixClass$WaveShaperNode(c) { |
| 7676 if (c.prototype) { | 7670 if (c.prototype) { |
| 7677 c.prototype.curve$getter = function() { return DOM$EnsureDartNull(this.curve
); }; | 7671 c.prototype.curve$getter = function() { return DOM$EnsureDartNull(this.curve
); }; |
| 7678 c.prototype.curve$setter = function(value) { this.curve = value; }; | 7672 c.prototype.curve$setter = function(value) { this.curve = value; }; |
| 7679 } | 7673 } |
| 7680 c.$implements$WaveShaperNode$Dart = 1; | 7674 c.$implements$WaveShaperNode$Dart = 1; |
| 7681 c.$implements$AudioNode$Dart = 1; | 7675 c.$implements$AudioNode$Dart = 1; |
| 7682 } | 7676 } |
| 7683 function DOM$fixClass$WebGLActiveInfo(c) { | 7677 function DOM$fixClass$WebGLActiveInfo(c) { |
| 7684 if (c.prototype) { | 7678 if (c.prototype) { |
| (...skipping 2523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10208 DOM$fixClass$Uint32Array(_); | 10202 DOM$fixClass$Uint32Array(_); |
| 10209 } | 10203 } |
| 10210 if ((_ = w.Uint8Array)) { | 10204 if ((_ = w.Uint8Array)) { |
| 10211 w.Uint8Array$Dart = _; | 10205 w.Uint8Array$Dart = _; |
| 10212 DOM$fixClass$Uint8Array(_); | 10206 DOM$fixClass$Uint8Array(_); |
| 10213 } | 10207 } |
| 10214 if ((_ = w.ValidityState)) { | 10208 if ((_ = w.ValidityState)) { |
| 10215 w.ValidityState$Dart = _; | 10209 w.ValidityState$Dart = _; |
| 10216 DOM$fixClass$ValidityState(_); | 10210 DOM$fixClass$ValidityState(_); |
| 10217 } | 10211 } |
| 10218 if ((_ = w.VoidCallback)) { | |
| 10219 w.VoidCallback$Dart = _; | |
| 10220 DOM$fixClass$VoidCallback(_); | |
| 10221 } | |
| 10222 if ((_ = w.WaveShaperNode)) { | 10212 if ((_ = w.WaveShaperNode)) { |
| 10223 w.WaveShaperNode$Dart = _; | 10213 w.WaveShaperNode$Dart = _; |
| 10224 DOM$fixClass$WaveShaperNode(_); | 10214 DOM$fixClass$WaveShaperNode(_); |
| 10225 } | 10215 } |
| 10226 if ((_ = w.WebGLActiveInfo)) { | 10216 if ((_ = w.WebGLActiveInfo)) { |
| 10227 w.WebGLActiveInfo$Dart = _; | 10217 w.WebGLActiveInfo$Dart = _; |
| 10228 DOM$fixClass$WebGLActiveInfo(_); | 10218 DOM$fixClass$WebGLActiveInfo(_); |
| 10229 } | 10219 } |
| 10230 if ((_ = w.WebGLBuffer)) { | 10220 if ((_ = w.WebGLBuffer)) { |
| 10231 w.WebGLBuffer$Dart = _; | 10221 w.WebGLBuffer$Dart = _; |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10446 function native__NativeDomGlobalProperties_getWindow() { | 10436 function native__NativeDomGlobalProperties_getWindow() { |
| 10447 // TODO: Should the window be obtained from an isolate? | 10437 // TODO: Should the window be obtained from an isolate? |
| 10448 return window; | 10438 return window; |
| 10449 } | 10439 } |
| 10450 | 10440 |
| 10451 // Declared in src/GlobalProperties.dart | 10441 // Declared in src/GlobalProperties.dart |
| 10452 function native__NativeDomGlobalProperties_getDocument() { | 10442 function native__NativeDomGlobalProperties_getDocument() { |
| 10453 // TODO: Should the window be obtained from an isolate? | 10443 // TODO: Should the window be obtained from an isolate? |
| 10454 return window.document; | 10444 return window.document; |
| 10455 } | 10445 } |
| OLD | NEW |