| 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 if (c.prototype) { | 467 if (c.prototype) { |
| 468 } | 468 } |
| 469 c.$implements$CanvasPattern$Dart = 1; | 469 c.$implements$CanvasPattern$Dart = 1; |
| 470 } | 470 } |
| 471 function DOM$fixClass$CanvasPixelArray(c) { | 471 function DOM$fixClass$CanvasPixelArray(c) { |
| 472 if (c.prototype) { | 472 if (c.prototype) { |
| 473 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng
th); }; | 473 c.prototype.length$getter = function() { return DOM$EnsureDartNull(this.leng
th); }; |
| 474 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k]
); }; | 474 c.prototype.INDEX$operator = function(k) { return DOM$EnsureDartNull(this[k]
); }; |
| 475 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; }; | 475 c.prototype.ASSIGN_INDEX$operator = function(k, v) { this[k] = v; }; |
| 476 } | 476 } |
| 477 DOM$fixMembers(c, ['item']); | |
| 478 c.$implements$CanvasPixelArray$Dart = 1; | 477 c.$implements$CanvasPixelArray$Dart = 1; |
| 479 } | 478 } |
| 480 function DOM$fixClassOnDemand$CanvasPixelArray(c) { | 479 function DOM$fixClassOnDemand$CanvasPixelArray(c) { |
| 481 if (c.DOM$initialized === true) | 480 if (c.DOM$initialized === true) |
| 482 return; | 481 return; |
| 483 c.DOM$initialized = true; | 482 c.DOM$initialized = true; |
| 484 DOM$fixClass$CanvasPixelArray(c); | 483 DOM$fixClass$CanvasPixelArray(c); |
| 485 } | 484 } |
| 486 function DOM$fixValue$CanvasPixelArray(value) { | 485 function DOM$fixValue$CanvasPixelArray(value) { |
| 487 if (value == null) | 486 if (value == null) |
| (...skipping 9842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10330 function native__NativeDomGlobalProperties_getWindow() { | 10329 function native__NativeDomGlobalProperties_getWindow() { |
| 10331 // TODO: Should the window be obtained from an isolate? | 10330 // TODO: Should the window be obtained from an isolate? |
| 10332 return window; | 10331 return window; |
| 10333 } | 10332 } |
| 10334 | 10333 |
| 10335 // Declared in src/GlobalProperties.dart | 10334 // Declared in src/GlobalProperties.dart |
| 10336 function native__NativeDomGlobalProperties_getDocument() { | 10335 function native__NativeDomGlobalProperties_getDocument() { |
| 10337 // TODO: Should the window be obtained from an isolate? | 10336 // TODO: Should the window be obtained from an isolate? |
| 10338 return window.document; | 10337 return window.document; |
| 10339 } | 10338 } |
| OLD | NEW |