OLD | NEW |
1 // Generated by dart2js, the Dart to JavaScript compiler. | 1 // Generated by dart2js, the Dart to JavaScript compiler. |
2 // The code supports the following hooks: | 2 // The code supports the following hooks: |
3 // dartPrint(message) - if this function is defined it is called | 3 // dartPrint(message) - if this function is defined it is called |
4 // instead of the Dart [print] method. | 4 // instead of the Dart [print] method. |
5 // dartMainRunner(main) - if this function is defined, the Dart [main] | 5 // dartMainRunner(main) - if this function is defined, the Dart [main] |
6 // method will not be invoked directly. | 6 // method will not be invoked directly. |
7 // Instead, a closure that will invoke [main] is | 7 // Instead, a closure that will invoke [main] is |
8 // passed to [dartMainRunner]. | 8 // passed to [dartMainRunner]. |
9 (function($) { | 9 (function($) { |
10 var A = {}; | 10 var A = {}; |
(...skipping 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 if (closure == null) | 1819 if (closure == null) |
1820 return; | 1820 return; |
1821 $function = closure.$identity; | 1821 $function = closure.$identity; |
1822 if (!!$function) | 1822 if (!!$function) |
1823 return $function; | 1823 return $function; |
1824 $function = (function(closure, arity, context, invoke) { return function(a1,
a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})(
closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7); | 1824 $function = (function(closure, arity, context, invoke) { return function(a1,
a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})(
closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7); |
1825 closure.$identity = $function; | 1825 closure.$identity = $function; |
1826 return $function; | 1826 return $function; |
1827 }, | 1827 }, |
1828 | 1828 |
| 1829 propertyTypeCastError: function(value, property) { |
| 1830 var actualType, t1, expectedType; |
| 1831 actualType = H.Primitives_objectTypeName(value); |
| 1832 t1 = J.getInterceptor$asx(property); |
| 1833 expectedType = t1.substring$2(property, 3, t1.get$length(property)); |
| 1834 throw H.wrapException(new H.CastErrorImplementation("CastError: Casting value
of type " + actualType + " to incompatible type " + expectedType)); |
| 1835 }, |
| 1836 |
| 1837 interceptedTypeCast: function(value, property) { |
| 1838 var t1; |
| 1839 if (value != null) |
| 1840 t1 = typeof value === "object" && J.getInterceptor(value)[property]; |
| 1841 else |
| 1842 t1 = true; |
| 1843 if (t1) |
| 1844 return value; |
| 1845 H.propertyTypeCastError(value, property); |
| 1846 }, |
| 1847 |
1829 throwCyclicInit: function(staticName) { | 1848 throwCyclicInit: function(staticName) { |
1830 throw H.wrapException(new P.CyclicInitializationError("Cyclic initialization f
or static " + H.S(staticName))); | 1849 throw H.wrapException(new P.CyclicInitializationError("Cyclic initialization f
or static " + H.S(staticName))); |
1831 }, | 1850 }, |
1832 | 1851 |
1833 setRuntimeTypeInfo: function(target, typeInfo) { | 1852 setRuntimeTypeInfo: function(target, typeInfo) { |
1834 if (target != null) | 1853 if (target != null) |
1835 target.$builtinTypeInfo = typeInfo; | 1854 target.$builtinTypeInfo = typeInfo; |
1836 return target; | 1855 return target; |
1837 }, | 1856 }, |
1838 | 1857 |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2551 t1 = this._receiver; | 2570 t1 = this._receiver; |
2552 if (t1 == null) | 2571 if (t1 == null) |
2553 receiverHashCode = H.Primitives_objectHashCode(this._self); | 2572 receiverHashCode = H.Primitives_objectHashCode(this._self); |
2554 else | 2573 else |
2555 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit
ives_objectHashCode(t1); | 2574 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit
ives_objectHashCode(t1); |
2556 return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_tar
get)) >>> 0; | 2575 return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_tar
get)) >>> 0; |
2557 }, | 2576 }, |
2558 $isBoundClosure: true | 2577 $isBoundClosure: true |
2559 }, | 2578 }, |
2560 | 2579 |
| 2580 CastErrorImplementation: {"": "Error;message", |
| 2581 toString$0: function(_) { |
| 2582 return this.message; |
| 2583 }, |
| 2584 $isError: true |
| 2585 }, |
| 2586 |
2561 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_
0", | 2587 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_
0", |
2562 call$1: function(object) { | 2588 call$1: function(object) { |
2563 return this.newGetTagJSFunction_0(object); | 2589 return this.newGetTagJSFunction_0(object); |
2564 } | 2590 } |
2565 }}], | 2591 }}], |
2566 ["dart._collection.dev", "dart:_collection-dev", , H, { | 2592 ["dart._collection.dev", "dart:_collection-dev", , H, { |
2567 Arrays_copy: function(src, srcStart, dst, dstStart, count) { | 2593 Arrays_copy: function(src, srcStart, dst, dstStart, count) { |
2568 var i, j, t1, t2, t3, t4; | 2594 var i, j, t1, t2, t3, t4; |
2569 if (typeof dst !== "object" || dst === null || (dst.constructor !== Array || !
!dst.immutable$list) && !H.isJsIndexable(dst, dst[init.dispatchPropertyName])) | 2595 if (typeof dst !== "object" || dst === null || (dst.constructor !== Array || !
!dst.immutable$list) && !H.isJsIndexable(dst, dst[init.dispatchPropertyName])) |
2570 return H.Arrays_copy$bailout(1, dst, src, srcStart, dstStart, count); | 2596 return H.Arrays_copy$bailout(1, dst, src, srcStart, dstStart, count); |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2773 return J.get$length$asx(this._source); | 2799 return J.get$length$asx(this._source); |
2774 }, | 2800 }, |
2775 elementAt$1: function(_, index) { | 2801 elementAt$1: function(_, index) { |
2776 return this._f$1(J.elementAt$1$ax(this._source, index)); | 2802 return this._f$1(J.elementAt$1$ax(this._source, index)); |
2777 }, | 2803 }, |
2778 $asListIterable: function($S, $T) { | 2804 $asListIterable: function($S, $T) { |
2779 return [$T]; | 2805 return [$T]; |
2780 } | 2806 } |
2781 }, | 2807 }, |
2782 | 2808 |
2783 WhereIterable: {"": "IterableBase;_iterable,_f", | |
2784 get$iterator: function(_) { | |
2785 var t1 = J.get$iterator$ax(this._iterable); | |
2786 t1 = new H.WhereIterator(t1, this._f); | |
2787 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "WhereIterable", 0)
]); | |
2788 return t1; | |
2789 }, | |
2790 $asIterableBase: null | |
2791 }, | |
2792 | |
2793 WhereIterator: {"": "Iterator;_iterator,_f", | |
2794 _f$1: function(arg0) { | |
2795 return this._f.call$1(arg0); | |
2796 }, | |
2797 moveNext$0: function() { | |
2798 for (var t1 = this._iterator; t1.moveNext$0();) | |
2799 if (this._f$1(t1.get$current()) === true) | |
2800 return true; | |
2801 return false; | |
2802 }, | |
2803 get$current: function() { | |
2804 return this._iterator.get$current(); | |
2805 }, | |
2806 $asIterator: null | |
2807 }, | |
2808 | |
2809 FixedLengthListMixin: {"": "Object;"}}], | 2809 FixedLengthListMixin: {"": "Object;"}}], |
2810 ["dart.async", "dart:async", , P, { | 2810 ["dart.async", "dart:async", , P, { |
2811 _attachStackTrace: function(o, st) { | 2811 _attachStackTrace: function(o, st) { |
2812 var t1; | 2812 var t1; |
2813 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o =
== "string") | 2813 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o =
== "string") |
2814 return; | 2814 return; |
2815 t1 = $.get$_stackTraceExpando(); | 2815 t1 = $.get$_stackTraceExpando(); |
2816 t1.$indexSet(t1, o, st); | 2816 t1.$indexSet(t1, o, st); |
2817 }, | 2817 }, |
2818 | 2818 |
(...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4812 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { | 4812 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { |
4813 element = t1.get$current(); | 4813 element = t1.get$current(); |
4814 if (remaining === 0) | 4814 if (remaining === 0) |
4815 return element; | 4815 return element; |
4816 --remaining; | 4816 --remaining; |
4817 } | 4817 } |
4818 throw H.wrapException(new P.RangeError("value " + index)); | 4818 throw H.wrapException(new P.RangeError("value " + index)); |
4819 } | 4819 } |
4820 }, | 4820 }, |
4821 | 4821 |
4822 ListBase: {"": "Object+ListMixin;", $isList: true, $asList: null}, | |
4823 | |
4824 ListMixin: {"": "Object;", | 4822 ListMixin: {"": "Object;", |
4825 get$iterator: function(receiver) { | 4823 get$iterator: function(receiver) { |
4826 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); | 4824 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); |
4827 }, | 4825 }, |
4828 elementAt$1: function(receiver, index) { | 4826 elementAt$1: function(receiver, index) { |
4829 return this.$index(receiver, index); | 4827 return this.$index(receiver, index); |
4830 }, | 4828 }, |
4831 forEach$1: function(receiver, action) { | 4829 forEach$1: function(receiver, action) { |
4832 var $length, i; | 4830 var $length, i; |
4833 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) | 4831 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) |
4834 return this.forEach$1$bailout(1, receiver, action); | 4832 return this.forEach$1$bailout(1, receiver, action); |
4835 $length = receiver.length; | 4833 $length = C.JS_CONST_ZYJ(receiver); |
4836 for (i = 0; i < $length; ++i) { | 4834 for (i = 0; i < $length; ++i) { |
4837 if (i >= receiver.length) | 4835 if (i >= C.JS_CONST_ZYJ(receiver)) |
4838 throw H.ioore(receiver, i); | 4836 throw H.ioore(receiver, i); |
4839 action.call$1(receiver[i]); | 4837 action.call$1(receiver[i]); |
4840 if ($length !== receiver.length) | 4838 if ($length !== C.JS_CONST_ZYJ(receiver)) |
4841 throw H.wrapException(new P.ConcurrentModificationError(receiver)); | 4839 throw H.wrapException(new P.ConcurrentModificationError(receiver)); |
4842 } | 4840 } |
4843 }, | 4841 }, |
4844 forEach$1$bailout: function(state0, receiver, action) { | 4842 forEach$1$bailout: function(state0, receiver, action) { |
4845 var $length, i; | 4843 var $length, i; |
4846 $length = this.get$length(receiver); | 4844 $length = this.get$length(receiver); |
4847 for (i = 0; i < $length; ++i) { | 4845 for (i = 0; i < $length; ++i) { |
4848 action.call$1(this.$index(receiver, i)); | 4846 action.call$1(this.$index(receiver, i)); |
4849 if ($length !== this.get$length(receiver)) | 4847 if ($length !== this.get$length(receiver)) |
4850 throw H.wrapException(new P.ConcurrentModificationError(receiver)); | 4848 throw H.wrapException(new P.ConcurrentModificationError(receiver)); |
4851 } | 4849 } |
4852 }, | 4850 }, |
4853 where$1: function(receiver, test) { | |
4854 var t1 = new H.WhereIterable(receiver, test); | |
4855 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)
]); | |
4856 return t1; | |
4857 }, | |
4858 map$1: function(receiver, f) { | 4851 map$1: function(receiver, f) { |
4859 var t1 = new H.MappedListIterable(receiver, f); | 4852 var t1 = new H.MappedListIterable(receiver, f); |
4860 H.setRuntimeTypeInfo(t1, [null, null]); | 4853 H.setRuntimeTypeInfo(t1, [null, null]); |
4861 return t1; | 4854 return t1; |
4862 }, | 4855 }, |
4863 toList$1$growable: function(receiver, growable) { | |
4864 var result, t1, t2, i, t3; | |
4865 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive
r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei
ver[init.dispatchPropertyName]))) | |
4866 return this.toList$1$growable$bailout(1, receiver, growable); | |
4867 if (growable) { | |
4868 result = P.List_List(null, H.getRuntimeTypeArgument(receiver, "ListMixin",
0)); | |
4869 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4870 C.JSArray_methods.set$length(result, receiver.length); | |
4871 } else { | |
4872 result = P.List_List(receiver.length, H.getRuntimeTypeArgument(receiver, "
ListMixin", 0)); | |
4873 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4874 } | |
4875 for (t1 = receiver.length, t2 = result.length, i = 0; i < t1; ++i) { | |
4876 t3 = receiver[i]; | |
4877 if (i >= t2) | |
4878 throw H.ioore(result, i); | |
4879 result[i] = t3; | |
4880 } | |
4881 return result; | |
4882 }, | |
4883 toList$1$growable$bailout: function(state0, receiver, growable) { | |
4884 var result, i, t1; | |
4885 if (growable) { | |
4886 result = P.List_List(null, H.getRuntimeTypeArgument(receiver, "ListMixin",
0)); | |
4887 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4888 C.JSArray_methods.set$length(result, this.get$length(receiver)); | |
4889 } else { | |
4890 result = P.List_List(this.get$length(receiver), H.getRuntimeTypeArgument(r
eceiver, "ListMixin", 0)); | |
4891 H.setRuntimeTypeInfo(result, [H.getRuntimeTypeArgument(receiver, "ListMixi
n", 0)]); | |
4892 } | |
4893 for (i = 0; i < this.get$length(receiver); ++i) { | |
4894 t1 = this.$index(receiver, i); | |
4895 if (i >= result.length) | |
4896 throw H.ioore(result, i); | |
4897 result[i] = t1; | |
4898 } | |
4899 return result; | |
4900 }, | |
4901 toList$0: function($receiver) { | |
4902 return this.toList$1$growable($receiver, true); | |
4903 }, | |
4904 toString$0: function(receiver) { | 4856 toString$0: function(receiver) { |
4905 var result, i, t1; | 4857 var result, i, t1; |
4906 for (i = 0; i < $.get$ListMixin__toStringList().length; ++i) { | 4858 for (i = 0; i < $.get$ListMixin__toStringList().length; ++i) { |
4907 t1 = $.get$ListMixin__toStringList(); | 4859 t1 = $.get$ListMixin__toStringList(); |
4908 if (i >= t1.length) | 4860 if (i >= t1.length) |
4909 throw H.ioore(t1, i); | 4861 throw H.ioore(t1, i); |
4910 if (t1[i] === receiver) | 4862 if (t1[i] === receiver) |
4911 return "[...]"; | 4863 return "[...]"; |
4912 } | 4864 } |
4913 result = P.StringBuffer$(""); | 4865 result = P.StringBuffer$(""); |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5344 }, | 5296 }, |
5345 $isError: true | 5297 $isError: true |
5346 }, | 5298 }, |
5347 | 5299 |
5348 CyclicInitializationError: {"": "Error;variableName", | 5300 CyclicInitializationError: {"": "Error;variableName", |
5349 toString$0: function(_) { | 5301 toString$0: function(_) { |
5350 return "Reading static variable '" + this.variableName + "' during its initi
alization"; | 5302 return "Reading static variable '" + this.variableName + "' during its initi
alization"; |
5351 } | 5303 } |
5352 }, | 5304 }, |
5353 | 5305 |
| 5306 Exception: {"": "Object;", $isException: true}, |
| 5307 |
5354 _ExceptionImplementation: {"": "Object;message", | 5308 _ExceptionImplementation: {"": "Object;message", |
5355 toString$0: function(_) { | 5309 toString$0: function(_) { |
5356 var t1 = this.message; | 5310 var t1 = this.message; |
5357 if (t1 == null) | 5311 if (t1 == null) |
5358 return "Exception"; | 5312 return "Exception"; |
5359 return "Exception: " + H.S(t1); | 5313 return "Exception: " + H.S(t1); |
5360 }, | 5314 }, |
5361 $isException: true | 5315 $isException: true |
5362 }, | 5316 }, |
5363 | 5317 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5503 xhr.send(); | 5457 xhr.send(); |
5504 return completer.future; | 5458 return completer.future; |
5505 }, | 5459 }, |
5506 | 5460 |
5507 _convertNativeToDart_Window: function(win) { | 5461 _convertNativeToDart_Window: function(win) { |
5508 if (win == null) | 5462 if (win == null) |
5509 return; | 5463 return; |
5510 return W._DOMWindowCrossFrame__createSafe(win); | 5464 return W._DOMWindowCrossFrame__createSafe(win); |
5511 }, | 5465 }, |
5512 | 5466 |
5513 _ChildrenElementList: {"": "ListBase;_element,_childElements", | 5467 _convertNativeToDart_EventTarget: function(e) { |
5514 get$length: function(_) { | 5468 var $window, t1; |
5515 return this._childElements.length; | 5469 if (e == null) |
5516 }, | 5470 return; |
5517 $index: function(_, index) { | 5471 if ("setInterval" in e) { |
5518 var t1 = this._childElements; | 5472 $window = W._DOMWindowCrossFrame__createSafe(e); |
5519 if (index >>> 0 !== index || index >= t1.length) | 5473 t1 = J.getInterceptor($window); |
5520 throw H.ioore(t1, index); | 5474 if (typeof $window === "object" && $window !== null && !!t1.$isEventTarget) |
5521 return t1[index]; | 5475 return $window; |
5522 }, | 5476 return; |
5523 $indexSet: function(_, index, value) { | 5477 } else |
5524 var t1 = this._childElements; | 5478 return e; |
5525 if (index >>> 0 !== index || index >= t1.length) | |
5526 throw H.ioore(t1, index); | |
5527 this._element.replaceChild(value, t1[index]); | |
5528 }, | |
5529 add$1: function(_, value) { | |
5530 this._element.appendChild(value); | |
5531 return value; | |
5532 }, | |
5533 get$iterator: function(_) { | |
5534 var t1 = this.toList$0(this); | |
5535 return new H.ListIterator(t1, t1.length, 0, null); | |
5536 }, | |
5537 $asList: function() { | |
5538 return [W.Element]; | |
5539 } | |
5540 }, | 5479 }, |
5541 | 5480 |
5542 Interceptor_ListMixin: {"": "Interceptor+ListMixin;", $isList: true, $asList: nu
ll}, | |
5543 | |
5544 Interceptor_ListMixin_ImmutableListMixin: {"": "Interceptor_ListMixin+ImmutableL
istMixin;", $asList: null, $isList: true}, | |
5545 | |
5546 HttpRequest_getString_closure: {"": "Closure;", | 5481 HttpRequest_getString_closure: {"": "Closure;", |
5547 call$1: function(xhr) { | 5482 call$1: function(xhr) { |
5548 return J.get$responseText$x(xhr); | 5483 return J.get$responseText$x(xhr); |
5549 } | 5484 } |
5550 }, | 5485 }, |
5551 | 5486 |
5552 HttpRequest_request_closure1: {"": "Closure;xhr_0", | 5487 HttpRequest_request_closure1: {"": "Closure;xhr_0", |
5553 call$2: function(header, value) { | 5488 call$2: function(header, value) { |
5554 this.xhr_0.setRequestHeader(header, value); | 5489 this.xhr_0.setRequestHeader(header, value); |
5555 } | 5490 } |
(...skipping 24 matching lines...) Expand all Loading... |
5580 | 5515 |
5581 HttpRequest_request_closure0: {"": "Closure;completer_3", | 5516 HttpRequest_request_closure0: {"": "Closure;completer_3", |
5582 call$1: function(e) { | 5517 call$1: function(e) { |
5583 var t1 = this.completer_3.future; | 5518 var t1 = this.completer_3.future; |
5584 if (t1._state !== 0) | 5519 if (t1._state !== 0) |
5585 H.throwExpression(new P.StateError("Future already completed")); | 5520 H.throwExpression(new P.StateError("Future already completed")); |
5586 t1._asyncCompleteError$2(e, null); | 5521 t1._asyncCompleteError$2(e, null); |
5587 } | 5522 } |
5588 }, | 5523 }, |
5589 | 5524 |
5590 _ChildNodeListLazy: {"": "ListBase;_this", | |
5591 $indexSet: function(_, index, value) { | |
5592 var t1, t2; | |
5593 t1 = this._this; | |
5594 t2 = t1.childNodes; | |
5595 if (index >>> 0 !== index || index >= t2.length) | |
5596 throw H.ioore(t2, index); | |
5597 t1.replaceChild(value, t2[index]); | |
5598 }, | |
5599 get$iterator: function(_) { | |
5600 return C.NodeList_methods.get$iterator(this._this.childNodes); | |
5601 }, | |
5602 get$length: function(_) { | |
5603 return this._this.childNodes.length; | |
5604 }, | |
5605 $index: function(_, index) { | |
5606 var t1 = this._this.childNodes; | |
5607 if (index >>> 0 !== index || index >= t1.length) | |
5608 throw H.ioore(t1, index); | |
5609 return t1[index]; | |
5610 }, | |
5611 $asList: function() { | |
5612 return [W.Node]; | |
5613 } | |
5614 }, | |
5615 | |
5616 Interceptor_ListMixin0: {"": "Interceptor+ListMixin;", $isList: true, $asList: n
ull}, | |
5617 | |
5618 Interceptor_ListMixin_ImmutableListMixin0: {"": "Interceptor_ListMixin0+Immutabl
eListMixin;", $asList: null, $isList: true}, | |
5619 | |
5620 _EventStream: {"": "Stream;_target,_eventType,_useCapture", | 5525 _EventStream: {"": "Stream;_target,_eventType,_useCapture", |
5621 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone,
onError) { | 5526 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone,
onError) { |
5622 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W.
_EventStreamSubscription__wrapZone(onData), this._useCapture); | 5527 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W.
_EventStreamSubscription__wrapZone(onData), this._useCapture); |
5623 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]
); | 5528 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]
); |
5624 t1._tryResume$0(); | 5529 t1._tryResume$0(); |
5625 return t1; | 5530 return t1; |
5626 }, | 5531 }, |
5627 listen$3$onDone$onError: function(onData, onDone, onError) { | 5532 listen$3$onDone$onError: function(onData, onDone, onError) { |
5628 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onEr
ror); | 5533 return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onEr
ror); |
5629 }, | 5534 }, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5670 _EventStreamSubscription__wrapZone: function(callback) { | 5575 _EventStreamSubscription__wrapZone: function(callback) { |
5671 if (J.$eq($.Zone__current, C._CustomizedZone_WYN)) | 5576 if (J.$eq($.Zone__current, C._CustomizedZone_WYN)) |
5672 return callback; | 5577 return callback; |
5673 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); | 5578 return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); |
5674 }} | 5579 }} |
5675 | 5580 |
5676 }, | 5581 }, |
5677 | 5582 |
5678 EventStreamProvider: {"": "Object;_eventType"}, | 5583 EventStreamProvider: {"": "Object;_eventType"}, |
5679 | 5584 |
5680 ImmutableListMixin: {"": "Object;", | |
5681 get$iterator: function(receiver) { | |
5682 return W.FixedSizeListIterator$(receiver); | |
5683 }, | |
5684 $isList: true, | |
5685 $asList: null | |
5686 }, | |
5687 | |
5688 FixedSizeListIterator: {"": "Object;_array,_html$_length,_html$_position,_html$_
current", | |
5689 moveNext$0: function() { | |
5690 var nextPosition, t1; | |
5691 nextPosition = this._html$_position + 1; | |
5692 t1 = this._html$_length; | |
5693 if (nextPosition < t1) { | |
5694 this._html$_current = J.$index$asx(this._array, nextPosition); | |
5695 this._html$_position = nextPosition; | |
5696 return true; | |
5697 } | |
5698 this._html$_current = null; | |
5699 this._html$_position = t1; | |
5700 return false; | |
5701 }, | |
5702 get$current: function() { | |
5703 return this._html$_current; | |
5704 }, | |
5705 static: { | |
5706 FixedSizeListIterator$: function(array) { | |
5707 return new W.FixedSizeListIterator(array, J.get$length$asx(array), -1, null); | |
5708 }} | |
5709 | |
5710 }, | |
5711 | |
5712 _DOMWindowCrossFrame: {"": "Object;_window", | 5585 _DOMWindowCrossFrame: {"": "Object;_window", |
5713 get$parent: function(_) { | 5586 get$parent: function(_) { |
5714 return W._DOMWindowCrossFrame__createSafe(this._window.parent); | 5587 return W._DOMWindowCrossFrame__createSafe(this._window.parent); |
5715 }, | 5588 }, |
| 5589 $isEventTarget: true, |
5716 static: { | 5590 static: { |
5717 _DOMWindowCrossFrame__createSafe: function(w) { | 5591 _DOMWindowCrossFrame__createSafe: function(w) { |
5718 if (w === window) | 5592 if (w === window) |
5719 return w; | 5593 return w; |
5720 else | 5594 else |
5721 return new W._DOMWindowCrossFrame(w); | 5595 return new W._DOMWindowCrossFrame(w); |
5722 }} | 5596 }} |
5723 | 5597 |
5724 }, | 5598 }, |
5725 | 5599 |
5726 HtmlElement: {"": "Element;"}, | 5600 HtmlElement: {"": "Element;"}, |
5727 | 5601 |
5728 AnchorElement: {"": "HtmlElement;", | 5602 AnchorElement: {"": "HtmlElement;target=", |
5729 toString$0: function(receiver) { | 5603 toString$0: function(receiver) { |
5730 return receiver.toString(); | 5604 return receiver.toString(); |
5731 } | 5605 } |
5732 }, | 5606 }, |
5733 | 5607 |
| 5608 AreaElement: {"": "HtmlElement;target="}, |
| 5609 |
| 5610 BaseElement: {"": "HtmlElement;target="}, |
| 5611 |
| 5612 ButtonElement: {"": "HtmlElement;disabled},value%"}, |
| 5613 |
5734 CharacterData: {"": "Node;length="}, | 5614 CharacterData: {"": "Node;length="}, |
5735 | 5615 |
5736 DomException: {"": "Interceptor;", | 5616 DomException: {"": "Interceptor;", |
5737 toString$0: function(receiver) { | 5617 toString$0: function(receiver) { |
5738 return receiver.toString(); | 5618 return receiver.toString(); |
5739 } | 5619 } |
5740 }, | 5620 }, |
5741 | 5621 |
5742 Element: {"": "Node;", | 5622 Element: {"": "Node;", |
5743 get$children: function(receiver) { | |
5744 return new W._ChildrenElementList(receiver, receiver.children); | |
5745 }, | |
5746 toString$0: function(receiver) { | 5623 toString$0: function(receiver) { |
5747 return receiver.localName; | 5624 return receiver.localName; |
5748 }, | 5625 } |
5749 $isElement: true | |
5750 }, | 5626 }, |
5751 | 5627 |
5752 Event: {"": "Interceptor;"}, | 5628 Event: {"": "Interceptor;", |
| 5629 get$target: function(receiver) { |
| 5630 return W._convertNativeToDart_EventTarget(receiver.target); |
| 5631 }, |
| 5632 $isEvent: true |
| 5633 }, |
5753 | 5634 |
5754 EventTarget: {"": "Interceptor;", | 5635 EventTarget: {"": "Interceptor;", |
5755 $$dom_addEventListener$3: function(receiver, type, listener, useCapture) { | 5636 $$dom_addEventListener$3: function(receiver, type, listener, useCapture) { |
5756 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1)
, useCapture); | 5637 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1)
, useCapture); |
5757 }, | 5638 }, |
5758 $$dom_removeEventListener$3: function(receiver, type, listener, useCapture) { | 5639 $$dom_removeEventListener$3: function(receiver, type, listener, useCapture) { |
5759 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); | 5640 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener,
1), useCapture); |
5760 } | 5641 }, |
| 5642 $isEventTarget: true |
5761 }, | 5643 }, |
5762 | 5644 |
5763 FormElement: {"": "HtmlElement;length="}, | 5645 FieldSetElement: {"": "HtmlElement;disabled}"}, |
5764 | 5646 |
5765 HtmlCollection: {"": "Interceptor_ListMixin_ImmutableListMixin;", | 5647 FormElement: {"": "HtmlElement;length=,target="}, |
5766 get$length: function(receiver) { | |
5767 return receiver.length; | |
5768 }, | |
5769 $index: function(receiver, index) { | |
5770 var t1 = receiver.length; | |
5771 if (index >>> 0 !== index || index >= t1) | |
5772 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + t1)); | |
5773 return receiver[index]; | |
5774 }, | |
5775 $indexSet: function(receiver, index, value) { | |
5776 throw H.wrapException(new P.UnsupportedError("Cannot assign element of immut
able List.")); | |
5777 }, | |
5778 elementAt$1: function(receiver, index) { | |
5779 if (index < 0 || index >= receiver.length) | |
5780 throw H.ioore(receiver, index); | |
5781 return receiver[index]; | |
5782 }, | |
5783 $asList: function() { | |
5784 return [W.Node]; | |
5785 }, | |
5786 $isList: true, | |
5787 $isJavaScriptIndexingBehavior: true | |
5788 }, | |
5789 | 5648 |
5790 HttpRequest: {"": "XmlHttpRequestEventTarget;responseText=", | 5649 HttpRequest: {"": "XmlHttpRequestEventTarget;responseText=", |
5791 open$5$async$password$user: function(receiver, method, url, async, password, u
ser) { | 5650 open$5$async$password$user: function(receiver, method, url, async, password, u
ser) { |
5792 return receiver.open(method, url, async, user, password); | 5651 return receiver.open(method, url, async, user, password); |
5793 }, | 5652 }, |
5794 open$3$async: function($receiver, method, url, async) { | 5653 open$3$async: function($receiver, method, url, async) { |
5795 return $receiver.open(method, url, async); | 5654 return $receiver.open(method, url, async); |
5796 }, | 5655 }, |
5797 $isHttpRequest: true | 5656 $isHttpRequest: true |
5798 }, | 5657 }, |
5799 | 5658 |
5800 InputElement: {"": "HtmlElement;", $isElement: true, $isNode: true}, | 5659 InputElement: {"": "HtmlElement;checked=,disabled},placeholder},value%", $isEven
tTarget: true, $isCheckboxInputElement: true}, |
| 5660 |
| 5661 KeygenElement: {"": "HtmlElement;disabled}"}, |
| 5662 |
| 5663 LIElement: {"": "HtmlElement;value%"}, |
| 5664 |
| 5665 LinkElement: {"": "HtmlElement;disabled}"}, |
| 5666 |
| 5667 MeterElement: {"": "HtmlElement;value%"}, |
5801 | 5668 |
5802 MouseEvent: {"": "UIEvent;", $isMouseEvent: true}, | 5669 MouseEvent: {"": "UIEvent;", $isMouseEvent: true}, |
5803 | 5670 |
5804 Node: {"": "EventTarget;parent:parentElement=", | 5671 Node: {"": "EventTarget;parent:parentElement=", |
5805 replaceWith$1: function(receiver, otherNode) { | |
5806 var $parent, exception; | |
5807 try { | |
5808 $parent = receiver.parentNode; | |
5809 J._replaceChild$2$x($parent, otherNode, receiver); | |
5810 } catch (exception) { | |
5811 H.unwrapException(exception); | |
5812 } | |
5813 | |
5814 return receiver; | |
5815 }, | |
5816 toString$0: function(receiver) { | 5672 toString$0: function(receiver) { |
5817 var t1 = receiver.nodeValue; | 5673 var t1 = receiver.nodeValue; |
5818 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver)
: t1; | 5674 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver)
: t1; |
5819 }, | 5675 } |
5820 _replaceChild$2: function(receiver, newChild, oldChild) { | |
5821 return receiver.replaceChild(newChild, oldChild); | |
5822 }, | |
5823 $isNode: true | |
5824 }, | 5676 }, |
5825 | 5677 |
5826 NodeList: {"": "Interceptor_ListMixin_ImmutableListMixin0;", | 5678 OptGroupElement: {"": "HtmlElement;disabled}"}, |
5827 get$length: function(receiver) { | 5679 |
5828 return receiver.length; | 5680 OptionElement: {"": "HtmlElement;disabled},value%"}, |
5829 }, | 5681 |
5830 $index: function(receiver, index) { | 5682 OutputElement: {"": "HtmlElement;value%"}, |
5831 var t1 = receiver.length; | 5683 |
5832 if (index >>> 0 !== index || index >= t1) | 5684 ParamElement: {"": "HtmlElement;value%"}, |
5833 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + t1)); | 5685 |
5834 return receiver[index]; | 5686 ProcessingInstruction: {"": "CharacterData;target="}, |
5835 }, | 5687 |
5836 $indexSet: function(receiver, index, value) { | 5688 ProgressElement: {"": "HtmlElement;value%"}, |
5837 throw H.wrapException(new P.UnsupportedError("Cannot assign element of immut
able List.")); | |
5838 }, | |
5839 elementAt$1: function(receiver, index) { | |
5840 if (index < 0 || index >= receiver.length) | |
5841 throw H.ioore(receiver, index); | |
5842 return receiver[index]; | |
5843 }, | |
5844 $asList: function() { | |
5845 return [W.Node]; | |
5846 }, | |
5847 $isList: true, | |
5848 $isJavaScriptIndexingBehavior: true | |
5849 }, | |
5850 | 5689 |
5851 ProgressEvent: {"": "Event;", $isProgressEvent: true}, | 5690 ProgressEvent: {"": "Event;", $isProgressEvent: true}, |
5852 | 5691 |
5853 SelectElement: {"": "HtmlElement;length="}, | 5692 SelectElement: {"": "HtmlElement;disabled},length=,value%"}, |
| 5693 |
| 5694 StyleElement: {"": "HtmlElement;disabled}"}, |
| 5695 |
| 5696 TextAreaElement: {"": "HtmlElement;disabled},placeholder},value%"}, |
5854 | 5697 |
5855 UIEvent: {"": "Event;"}, | 5698 UIEvent: {"": "Event;"}, |
5856 | 5699 |
5857 Window: {"": "EventTarget;", | 5700 Window: {"": "EventTarget;", |
5858 get$parent: function(receiver) { | 5701 get$parent: function(receiver) { |
5859 return W._convertNativeToDart_Window(receiver.parent); | 5702 return W._convertNativeToDart_Window(receiver.parent); |
5860 }, | 5703 }, |
5861 toString$0: function(receiver) { | 5704 toString$0: function(receiver) { |
5862 return receiver.toString(); | 5705 return receiver.toString(); |
5863 } | 5706 }, |
| 5707 $isEventTarget: true |
5864 }, | 5708 }, |
5865 | 5709 |
5866 XmlHttpRequestEventTarget: {"": "EventTarget;"}}], | 5710 XmlHttpRequestEventTarget: {"": "EventTarget;"}}], |
5867 ["dart.dom.svg", "dart:svg", , P, { | 5711 ["dart.dom.svg", "dart:svg", , P, { |
5868 SvgElement: {"": "Element;", | 5712 AElement: {"": "GraphicsElement;target="}, |
5869 get$children: function(receiver) { | 5713 |
5870 var t1 = new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiv
er)); | 5714 GraphicsElement: {"": "SvgElement;"}, |
5871 H.setRuntimeTypeInfo(t1, [W.Element]); | 5715 |
5872 return t1; | 5716 StyleElement0: {"": "SvgElement;disabled}"}, |
5873 } | 5717 |
5874 }}], | 5718 SvgElement: {"": "Element;"}}], |
5875 ["dart.isolate", "dart:isolate", , P, { | 5719 ["dart.isolate", "dart:isolate", , P, { |
5876 _Isolate_port: function() { | 5720 _Isolate_port: function() { |
5877 if ($.lazyPort == null) | 5721 if ($.lazyPort == null) |
5878 $.lazyPort = H.ReceivePortImpl$(); | 5722 $.lazyPort = H.ReceivePortImpl$(); |
5879 return $.lazyPort; | 5723 return $.lazyPort; |
5880 }, | 5724 }, |
5881 | 5725 |
5882 ReceivePort: {"": "Object;", $isReceivePort: true}}], | 5726 ReceivePort: {"": "Object;", $isReceivePort: true}}], |
| 5727 ["dart.math", "dart:math", , P, { |
| 5728 _Random: {"": "Object;", |
| 5729 nextInt$1: function(max) { |
| 5730 var t1 = J.getInterceptor$n(max); |
| 5731 if (t1.$lt(max, 0)) |
| 5732 throw H.wrapException(new P.ArgumentError("negative max: " + H.S(max))); |
| 5733 if (t1.$gt(max, 4294967295)) |
| 5734 max = 4294967295; |
| 5735 return Math.random() * max >>> 0; |
| 5736 } |
| 5737 }}], |
5883 ["dart.typed_data", "dart:typed_data", , P, { | 5738 ["dart.typed_data", "dart:typed_data", , P, { |
5884 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null}, | 5739 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null}, |
5885 | 5740 |
5886 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL
istMixin;", $asList: null}, | 5741 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL
istMixin;", $asList: null}, |
5887 | 5742 |
5888 TypedData: {"": "Interceptor;", | 5743 TypedData: {"": "Interceptor;", |
5889 _invalidIndex$2: function(receiver, index, $length) { | 5744 _invalidIndex$2: function(receiver, index, $length) { |
5890 var t1 = J.getInterceptor$n(index); | 5745 var t1 = J.getInterceptor$n(index); |
5891 if (t1.$lt(index, 0) || t1.$ge(index, $length)) | 5746 if (t1.$lt(index, 0) || t1.$ge(index, $length)) |
5892 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + $length)); | 5747 throw H.wrapException(new P.RangeError("value " + H.S(index) + " not in ra
nge 0.." + $length)); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5928 if (index >>> 0 != index || J.$ge$n(index, t1)) | 5783 if (index >>> 0 != index || J.$ge$n(index, t1)) |
5929 this._invalidIndex$2(receiver, index, t1); | 5784 this._invalidIndex$2(receiver, index, t1); |
5930 receiver[index] = value; | 5785 receiver[index] = value; |
5931 }, | 5786 }, |
5932 $asList: function() { | 5787 $asList: function() { |
5933 return [J.JSInt]; | 5788 return [J.JSInt]; |
5934 }, | 5789 }, |
5935 $isList: true, | 5790 $isList: true, |
5936 $isJavaScriptIndexingBehavior: true | 5791 $isJavaScriptIndexingBehavior: true |
5937 }}], | 5792 }}], |
5938 ["html_common", "dart:html_common", , P, { | 5793 ["piratebadge.dart", "piratebadge.dart", , A, { |
5939 FilteredElementList: {"": "ListBase;_node,_childNodes", | 5794 main: function() { |
5940 get$_filtered: function() { | 5795 var t1, t2, t3; |
5941 var t1 = this._childNodes; | 5796 $.inputNameElement = document.querySelector("#inputName"); |
5942 return P.List_List$from(t1.where$1(t1, new P.FilteredElementList__filtered_c
losure()), true, W.Element); | 5797 t1 = $.inputNameElement; |
5943 }, | 5798 t1.toString; |
5944 forEach$1: function(_, f) { | 5799 t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_change._eventType
, false); |
5945 H.IterableMixinWorkaround_forEach(this.get$_filtered(), f); | 5800 H.setRuntimeTypeInfo(t1, [null]); |
5946 }, | 5801 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(A.generateBadge$closure), t1._useCapture); |
5947 $indexSet: function(_, index, value) { | 5802 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); |
5948 var t1 = this.get$_filtered(); | 5803 t2._tryResume$0(); |
5949 if (index >>> 0 !== index || index >= t1.length) | 5804 $.genButtonElement = document.querySelector("#generateButton"); |
5950 throw H.ioore(t1, index); | 5805 t2 = $.genButtonElement; |
5951 J.replaceWith$1$x(t1[index], value); | 5806 t2.toString; |
5952 }, | 5807 t1 = C.EventStreamProvider_click._eventType; |
5953 add$1: function(_, value) { | 5808 t2 = new W._ElementEventStreamImpl(t2, t1, false); |
5954 this._childNodes._this.appendChild(value); | 5809 H.setRuntimeTypeInfo(t2, [null]); |
5955 }, | 5810 t3 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._EventStre
amSubscription__wrapZone(A.generateBadge$closure), t2._useCapture); |
5956 get$length: function(_) { | 5811 H.setRuntimeTypeInfo(t3, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]); |
5957 return this.get$_filtered().length; | 5812 t3._tryResume$0(); |
5958 }, | 5813 t3 = document.querySelector("#useRandomName"); |
5959 $index: function(_, index) { | 5814 t3.toString; |
5960 var t1 = this.get$_filtered(); | 5815 t1 = new W._ElementEventStreamImpl(t3, t1, false); |
5961 if (index >>> 0 !== index || index >= t1.length) | 5816 H.setRuntimeTypeInfo(t1, [null]); |
5962 throw H.ioore(t1, index); | 5817 t3 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(A.useRandomNameClickHandler$closure), t1._useCapture); |
5963 return t1[index]; | 5818 H.setRuntimeTypeInfo(t3, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); |
5964 }, | 5819 t3._tryResume$0(); |
5965 get$iterator: function(_) { | 5820 $.captainRadioElement = document.querySelector("#captain"); |
5966 var t1 = this.get$_filtered(); | 5821 $.scallywagRadioElement = document.querySelector("#scallywag"); |
5967 return new H.ListIterator(t1, t1.length, 0, null); | 5822 A.PirateName_makeRequest(); |
5968 }, | |
5969 $asListBase: null, | |
5970 $asList: null | |
5971 }, | 5823 }, |
5972 | 5824 |
5973 FilteredElementList__filtered_closure: {"": "Closure;", | 5825 generateBadge: function($event) { |
5974 call$1: function(n) { | 5826 if (!$.useRandomName) |
5975 var t1 = J.getInterceptor(n); | 5827 document.querySelector("#badgeName").textContent = A.PirateName$(J.get$value
$x($.inputNameElement))._pirateName; |
5976 return typeof n === "object" && n !== null && !!t1.$isElement; | 5828 else if (J.get$checked$x($.scallywagRadioElement) === true) |
5977 } | 5829 document.querySelector("#badgeName").textContent = A.PirateName$scallywag().
_pirateName; |
5978 }}], | 5830 else |
5979 ["portmanteaux_simple.dart", "portmanteaux_simple.dart", , O, { | 5831 document.querySelector("#badgeName").textContent = A.PirateName$captain()._p
irateName; |
5980 main: function() { | |
5981 var t1, t2; | |
5982 t1 = document.querySelector("#getWords"); | |
5983 t1.toString; | |
5984 t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_click._eventType,
false); | |
5985 H.setRuntimeTypeInfo(t1, [null]); | |
5986 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._EventStre
amSubscription__wrapZone(O.makeRequest$closure), t1._useCapture); | |
5987 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]); | |
5988 t2._tryResume$0(); | |
5989 $.wordList = document.querySelector("#wordList"); | |
5990 }, | 5832 }, |
5991 | 5833 |
5992 makeRequest: function(e) { | 5834 useRandomNameClickHandler: function(e) { |
5993 W.HttpRequest_getString("portmanteaux_simple.json", null, null).then$1(O.proce
ssString$closure).catchError$1(O.handleError$closure); | 5835 var t1, t2; |
5994 }, | 5836 t1 = J.get$checked$x(H.interceptedTypeCast(J.get$target$x(e), "$isCheckboxInpu
tElement")); |
5995 | 5837 t2 = $.genButtonElement; |
5996 processString: function(jsonString) { | 5838 if (t1 === true) { |
5997 var portmanteaux, i, t1, t2; | 5839 J.set$disabled$x(t2, false); |
5998 portmanteaux = P._parseJson(jsonString, new P.JsonDecoder(null)._reviver); | 5840 J.set$disabled$x($.captainRadioElement, false); |
5999 if (typeof portmanteaux !== "string" && (typeof portmanteaux !== "object" || p
ortmanteaux === null || portmanteaux.constructor !== Array && !H.isJsIndexable(p
ortmanteaux, portmanteaux[init.dispatchPropertyName]))) | 5841 J.set$disabled$x($.scallywagRadioElement, false); |
6000 return O.processString$bailout(1, portmanteaux); | 5842 t1 = $.inputNameElement; |
6001 for (i = 0; i < portmanteaux.length; ++i) { | 5843 t2 = J.getInterceptor$x(t1); |
6002 t1 = J.get$children$x($.wordList); | 5844 t2.set$disabled(t1, true); |
6003 t2 = document.createElement("li", null); | 5845 t2.set$value(t1, ""); |
6004 if (i >= portmanteaux.length) | 5846 t2.set$placeholder(t1, ""); |
6005 throw H.ioore(portmanteaux, i); | 5847 $.useRandomName = true; |
6006 t2.textContent = portmanteaux[i]; | 5848 } else { |
6007 t1.add$1(t1, t2); | 5849 J.set$disabled$x(t2, true); |
| 5850 J.set$disabled$x($.captainRadioElement, true); |
| 5851 J.set$disabled$x($.scallywagRadioElement, true); |
| 5852 t1 = $.inputNameElement; |
| 5853 t2 = J.getInterceptor$x(t1); |
| 5854 t2.set$disabled(t1, false); |
| 5855 t2.set$placeholder(t1, "Your name here"); |
| 5856 $.useRandomName = false; |
6008 } | 5857 } |
6009 }, | 5858 }, |
6010 | 5859 |
6011 processString$bailout: function(state0, portmanteaux) { | 5860 PirateName: {"": "Object;indexGen,_pirateName", |
6012 var t1, i, t2, t3; | 5861 toString$0: function(_) { |
6013 t1 = J.getInterceptor$asx(portmanteaux); | 5862 return this._pirateName; |
6014 i = 0; | 5863 }, |
6015 while (true) { | 5864 PirateName$1$firstName: function(firstName) { |
6016 t2 = t1.get$length(portmanteaux); | 5865 this._pirateName = H.S(firstName == null ? J.$index$asx($.get$PirateName_nam
es(), this.indexGen.nextInt$1(J.get$length$asx($.get$PirateName_names()))) : fir
stName); |
6017 if (typeof t2 !== "number") | 5866 }, |
6018 throw H.iae(t2); | 5867 PirateName$scallywag$0: function() { |
6019 if (!(i < t2)) | 5868 var t1, firstName, appellation; |
6020 break; | 5869 t1 = this.indexGen; |
6021 t2 = J.get$children$x($.wordList); | 5870 firstName = J.$index$asx($.get$PirateName_names(), t1.nextInt$1(J.get$length
$asx($.get$PirateName_names()))); |
6022 t3 = document.createElement("li", null); | 5871 appellation = J.$index$asx($.get$PirateName_scallywags(), t1.nextInt$1(J.get
$length$asx($.get$PirateName_scallywags()))); |
6023 t3.textContent = t1.$index(portmanteaux, i); | 5872 this._pirateName = H.S(firstName) + " the " + H.S(appellation); |
6024 t2.add$1(t2, t3); | 5873 }, |
6025 ++i; | 5874 PirateName$captain$0: function() { |
6026 } | 5875 var t1, firstName, appellation; |
| 5876 t1 = this.indexGen; |
| 5877 firstName = J.$index$asx($.get$PirateName_names(), t1.nextInt$1(J.get$length
$asx($.get$PirateName_names()))); |
| 5878 appellation = J.$index$asx($.get$PirateName_captains(), t1.nextInt$1(J.get$l
ength$asx($.get$PirateName_captains()))); |
| 5879 this._pirateName = H.S(firstName) + " the " + H.S(appellation); |
| 5880 }, |
| 5881 static: { |
| 5882 "": "PirateName_names,PirateName_captains,PirateName_scallywags", |
| 5883 PirateName$: function(firstName) { |
| 5884 var t1 = new A.PirateName(C.C__Random, null); |
| 5885 t1.PirateName$1$firstName(firstName); |
| 5886 return t1; |
6027 }, | 5887 }, |
6028 | 5888 |
6029 handleError: function(error) { | 5889 PirateName$captain: function() { |
6030 var t1, t2; | 5890 var t1 = new A.PirateName(C.C__Random, null); |
6031 t1 = J.get$children$x($.wordList); | 5891 t1.PirateName$captain$0(); |
6032 t2 = document.createElement("li", null); | 5892 return t1; |
6033 t2.textContent = "Request failed."; | 5893 }, |
6034 t1.add$1(t1, t2); | 5894 |
| 5895 PirateName$scallywag: function() { |
| 5896 var t1 = new A.PirateName(C.C__Random, null); |
| 5897 t1.PirateName$scallywag$0(); |
| 5898 return t1; |
| 5899 }, |
| 5900 |
| 5901 PirateName_makeRequest: function() { |
| 5902 W.HttpRequest_getString("piratenames.json", null, null).then$1(A.PirateName_pr
ocessString$closure).catchError$1(A.PirateName_handleError$closure); |
| 5903 }, |
| 5904 |
| 5905 PirateName_handleError: function(error) { |
| 5906 H.Primitives_printString("Request failed."); |
| 5907 }, |
| 5908 |
| 5909 PirateName_processString: function(jsonString) { |
| 5910 var pirateNames, t1; |
| 5911 pirateNames = P._parseJson(jsonString, new P.JsonDecoder(null)._reviver); |
| 5912 t1 = J.getInterceptor$asx(pirateNames); |
| 5913 $.PirateName_names = t1.$index(pirateNames, 0); |
| 5914 $.PirateName_captains = t1.$index(pirateNames, 1); |
| 5915 $.PirateName_scallywags = t1.$index(pirateNames, 2); |
| 5916 }} |
| 5917 |
6035 }}, | 5918 }}, |
6036 1], | 5919 1], |
6037 ]); | 5920 ]); |
6038 Isolate.$finishClasses($$, $, null); | 5921 Isolate.$finishClasses($$, $, null); |
6039 $$ = null; | 5922 $$ = null; |
6040 | 5923 |
6041 // Static function getters | 5924 // Static function getters |
6042 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat
ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo
rkerMessage, "IsolateNatives__processWorkerMessage$closure"); | 5925 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat
ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo
rkerMessage, "IsolateNatives__processWorkerMessage$closure"); |
6043 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H
.Closure$0(H.toStringWrapper, "toStringWrapper$closure"); | 5926 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H
.Closure$0(H.toStringWrapper, "toStringWrapper$closure"); |
6044 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo
sure$7(H.invokeClosure, "invokeClosure$closure"); | 5927 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo
sure$7(H.invokeClosure, "invokeClosure$closure"); |
(...skipping 15 matching lines...) Expand all Loading... |
6060 init.globalFunctions._rootRegisterCallback$closure = P._rootRegisterCallback$clo
sure = new P.Closure$4(P._rootRegisterCallback, "_rootRegisterCallback$closure")
; | 5943 init.globalFunctions._rootRegisterCallback$closure = P._rootRegisterCallback$clo
sure = new P.Closure$4(P._rootRegisterCallback, "_rootRegisterCallback$closure")
; |
6061 init.globalFunctions._rootRegisterUnaryCallback$closure = P._rootRegisterUnaryCa
llback$closure = new P.Closure$4(P._rootRegisterUnaryCallback, "_rootRegisterUna
ryCallback$closure"); | 5944 init.globalFunctions._rootRegisterUnaryCallback$closure = P._rootRegisterUnaryCa
llback$closure = new P.Closure$4(P._rootRegisterUnaryCallback, "_rootRegisterUna
ryCallback$closure"); |
6062 init.globalFunctions._rootScheduleMicrotask$closure = P._rootScheduleMicrotask$c
losure = new P.Closure$4(P._rootScheduleMicrotask, "_rootScheduleMicrotask$closu
re"); | 5945 init.globalFunctions._rootScheduleMicrotask$closure = P._rootScheduleMicrotask$c
losure = new P.Closure$4(P._rootScheduleMicrotask, "_rootScheduleMicrotask$closu
re"); |
6063 init.globalFunctions._rootCreateTimer$closure = P._rootCreateTimer$closure = new
P.Closure$5(P._rootCreateTimer, "_rootCreateTimer$closure"); | 5946 init.globalFunctions._rootCreateTimer$closure = P._rootCreateTimer$closure = new
P.Closure$5(P._rootCreateTimer, "_rootCreateTimer$closure"); |
6064 init.globalFunctions._rootCreatePeriodicTimer$closure = P._rootCreatePeriodicTim
er$closure = new P.Closure$5(P._rootCreatePeriodicTimer, "_rootCreatePeriodicTim
er$closure"); | 5947 init.globalFunctions._rootCreatePeriodicTimer$closure = P._rootCreatePeriodicTim
er$closure = new P.Closure$5(P._rootCreatePeriodicTimer, "_rootCreatePeriodicTim
er$closure"); |
6065 init.globalFunctions._rootFork$closure = P._rootFork$closure = new P.Closure$5(P
._rootFork, "_rootFork$closure"); | 5948 init.globalFunctions._rootFork$closure = P._rootFork$closure = new P.Closure$5(P
._rootFork, "_rootFork$closure"); |
6066 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C
losure$2(P._defaultEquals, "_defaultEquals$closure"); | 5949 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C
losure$2(P._defaultEquals, "_defaultEquals$closure"); |
6067 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new
H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); | 5950 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new
H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); |
6068 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P
.identical, "identical$closure"); | 5951 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P
.identical, "identical$closure"); |
6069 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new
H.Closure$1(P.identityHashCode, "identityHashCode$closure"); | 5952 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new
H.Closure$1(P.identityHashCode, "identityHashCode$closure"); |
6070 init.globalFunctions.main$closure = O.main$closure = new H.Closure$0(O.main, "ma
in$closure"); | 5953 init.globalFunctions.main$closure = A.main$closure = new H.Closure$0(A.main, "ma
in$closure"); |
6071 init.globalFunctions.makeRequest$closure = O.makeRequest$closure = new H.Closure
$1(O.makeRequest, "makeRequest$closure"); | 5954 init.globalFunctions.generateBadge$closure = A.generateBadge$closure = new H.Clo
sure$1(A.generateBadge, "generateBadge$closure"); |
6072 init.globalFunctions.processString$closure = O.processString$closure = new H.Clo
sure$1(O.processString, "processString$closure"); | 5955 init.globalFunctions.useRandomNameClickHandler$closure = A.useRandomNameClickHan
dler$closure = new H.Closure$1(A.useRandomNameClickHandler, "useRandomNameClickH
andler$closure"); |
6073 init.globalFunctions.handleError$closure = O.handleError$closure = new H.Closure
$1(O.handleError, "handleError$closure"); | 5956 init.globalFunctions.PirateName_handleError$closure = A.PirateName_handleError$c
losure = new H.Closure$1(A.PirateName_handleError, "PirateName_handleError$closu
re"); |
| 5957 init.globalFunctions.PirateName_processString$closure = A.PirateName_processStri
ng$closure = new H.Closure$1(A.PirateName_processString, "PirateName_processStri
ng$closure"); |
6074 // Runtime type support | 5958 // Runtime type support |
6075 J.JSInt.$isint = true; | 5959 J.JSInt.$isint = true; |
6076 J.JSInt.$isObject = true; | 5960 J.JSInt.$isObject = true; |
6077 W.Node.$isObject = true; | |
6078 J.JSString.$isString = true; | 5961 J.JSString.$isString = true; |
6079 J.JSString.$isObject = true; | 5962 J.JSString.$isObject = true; |
6080 J.JSNumber.$isObject = true; | 5963 J.JSNumber.$isObject = true; |
| 5964 P.Object.$isObject = true; |
6081 P.Duration.$isDuration = true; | 5965 P.Duration.$isDuration = true; |
6082 P.Duration.$isObject = true; | 5966 P.Duration.$isObject = true; |
6083 W.Element.$isObject = true; | 5967 W.Event.$isEvent = true; |
6084 P.Object.$isObject = true; | 5968 W.Event.$isObject = true; |
| 5969 W.MouseEvent.$isMouseEvent = true; |
6085 W.MouseEvent.$isEvent = true; | 5970 W.MouseEvent.$isEvent = true; |
6086 W.MouseEvent.$isObject = true; | 5971 W.MouseEvent.$isObject = true; |
6087 P.Symbol.$isSymbol = true; | 5972 P.Symbol.$isSymbol = true; |
6088 P.Symbol.$isObject = true; | 5973 P.Symbol.$isObject = true; |
6089 W.HttpRequest.$isObject = true; | 5974 W.HttpRequest.$isObject = true; |
6090 W.ProgressEvent.$isEvent = true; | 5975 W.ProgressEvent.$isEvent = true; |
6091 W.ProgressEvent.$isObject = true; | 5976 W.ProgressEvent.$isObject = true; |
6092 P.ReceivePort.$isObject = true; | 5977 P.ReceivePort.$isObject = true; |
6093 H._IsolateEvent.$isObject = true; | 5978 H._IsolateEvent.$isObject = true; |
6094 H._IsolateContext.$isObject = true; | 5979 H._IsolateContext.$isObject = true; |
6095 J.JSArray.$isObject = true; | 5980 J.JSArray.$isObject = true; |
6096 P.Future.$isFuture = true; | 5981 P.Future.$isFuture = true; |
6097 P.Future.$isObject = true; | 5982 P.Future.$isObject = true; |
6098 W.Event.$isEvent = true; | 5983 P.Exception.$isException = true; |
6099 W.Event.$isObject = true; | 5984 P.Exception.$isObject = true; |
6100 P.Zone.$isZone = true; | 5985 P.Zone.$isZone = true; |
6101 P.Zone.$isObject = true; | 5986 P.Zone.$isObject = true; |
6102 P.ZoneDelegate.$isZoneDelegate = true; | 5987 P.ZoneDelegate.$isZoneDelegate = true; |
6103 P.ZoneDelegate.$isObject = true; | 5988 P.ZoneDelegate.$isObject = true; |
6104 P.Timer.$isTimer = true; | 5989 P.Timer.$isTimer = true; |
6105 P.Timer.$isObject = true; | 5990 P.Timer.$isObject = true; |
6106 P.ZoneSpecification.$isZoneSpecification = true; | 5991 P.ZoneSpecification.$isZoneSpecification = true; |
6107 P.ZoneSpecification.$isObject = true; | 5992 P.ZoneSpecification.$isObject = true; |
6108 P.Map.$isMap = true; | 5993 P.Map.$isMap = true; |
6109 P.Map.$isObject = true; | 5994 P.Map.$isObject = true; |
6110 P.Function.$isFunction = true; | 5995 P.Function.$isFunction = true; |
6111 P.Function.$isObject = true; | 5996 P.Function.$isObject = true; |
6112 J.JSBool.$isbool = true; | 5997 J.JSBool.$isbool = true; |
6113 J.JSBool.$isObject = true; | 5998 J.JSBool.$isObject = true; |
6114 P.Error.$isError = true; | |
6115 P.Error.$isObject = true; | |
6116 P.StackTrace.$isStackTrace = true; | 5999 P.StackTrace.$isStackTrace = true; |
6117 P.StackTrace.$isObject = true; | 6000 P.StackTrace.$isObject = true; |
6118 P._EventSink.$is_EventSink = true; | 6001 P._EventSink.$is_EventSink = true; |
6119 P._EventSink.$isObject = true; | 6002 P._EventSink.$isObject = true; |
6120 // getInterceptor methods | 6003 // getInterceptor methods |
6121 J.getInterceptor = function(receiver) { | 6004 J.getInterceptor = function(receiver) { |
6122 if (typeof receiver == "number") { | 6005 if (typeof receiver == "number") { |
6123 if (Math.floor(receiver) == receiver) | 6006 if (Math.floor(receiver) == receiver) |
6124 return J.JSInt.prototype; | 6007 return J.JSInt.prototype; |
6125 return J.JSDouble.prototype; | 6008 return J.JSDouble.prototype; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6185 return receiver; | 6068 return receiver; |
6186 if (typeof receiver != "object") | 6069 if (typeof receiver != "object") |
6187 return receiver; | 6070 return receiver; |
6188 if (receiver instanceof P.Object) | 6071 if (receiver instanceof P.Object) |
6189 return receiver; | 6072 return receiver; |
6190 return J.getNativeInterceptor(receiver); | 6073 return J.getNativeInterceptor(receiver); |
6191 }; | 6074 }; |
6192 C.C_CloseToken = new H.CloseToken(); | 6075 C.C_CloseToken = new H.CloseToken(); |
6193 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); | 6076 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); |
6194 C.C__DelayedDone = new P._DelayedDone(); | 6077 C.C__DelayedDone = new P._DelayedDone(); |
| 6078 C.C__Random = new P._Random(); |
6195 C.Duration_0 = new P.Duration(0); | 6079 C.Duration_0 = new P.Duration(0); |
| 6080 C.EventStreamProvider_change = new W.EventStreamProvider("change"); |
6196 C.EventStreamProvider_click = new W.EventStreamProvider("click"); | 6081 C.EventStreamProvider_click = new W.EventStreamProvider("click"); |
6197 C.EventStreamProvider_error = new W.EventStreamProvider("error"); | 6082 C.EventStreamProvider_error = new W.EventStreamProvider("error"); |
6198 C.EventStreamProvider_load = new W.EventStreamProvider("load"); | 6083 C.EventStreamProvider_load = new W.EventStreamProvider("load"); |
6199 C.HttpRequest_methods = W.HttpRequest.prototype; | 6084 C.HttpRequest_methods = W.HttpRequest.prototype; |
6200 C.JSArray_methods = J.JSArray.prototype; | 6085 C.JSArray_methods = J.JSArray.prototype; |
6201 C.JSInt_methods = J.JSInt.prototype; | 6086 C.JSInt_methods = J.JSInt.prototype; |
6202 C.JSNumber_methods = J.JSNumber.prototype; | 6087 C.JSNumber_methods = J.JSNumber.prototype; |
6203 C.JSString_methods = J.JSString.prototype; | 6088 C.JSString_methods = J.JSString.prototype; |
6204 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" &&
"system" in os) | 6089 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" &&
"system" in os) |
6205 || (typeof navigator == "object" | 6090 || (typeof navigator == "object" |
6206 && navigator.userAgent.indexOf('Chrome') != -1)) | 6091 && navigator.userAgent.indexOf('Chrome') != -1)) |
6207 ? function(x) { return x.$dartCachedLength || x.length; } | 6092 ? function(x) { return x.$dartCachedLength || x.length; } |
6208 : function(x) { return x.length; }; | 6093 : function(x) { return x.length; }; |
6209 ; | 6094 ; |
6210 Isolate.makeConstantList = function(list) { | 6095 Isolate.makeConstantList = function(list) { |
6211 list.immutable$list = true; | 6096 list.immutable$list = true; |
6212 list.fixed$length = true; | 6097 list.fixed$length = true; |
6213 return list; | 6098 return list; |
6214 }; | 6099 }; |
6215 C.List_empty = Isolate.makeConstantList([]); | 6100 C.List_empty = Isolate.makeConstantList([]); |
6216 C.NodeList_methods = W.NodeList.prototype; | |
6217 C._ZoneSpecification_eDx = new P._ZoneSpecification(P._rootHandleUncaughtError$c
losure, P._rootRun$closure, P._rootRunUnary$closure, P._rootRegisterCallback$clo
sure, P._rootRegisterUnaryCallback$closure, P._rootScheduleMicrotask$closure, P.
_rootCreateTimer$closure, P._rootCreatePeriodicTimer$closure, P._rootFork$closur
e); | 6101 C._ZoneSpecification_eDx = new P._ZoneSpecification(P._rootHandleUncaughtError$c
losure, P._rootRun$closure, P._rootRunUnary$closure, P._rootRegisterCallback$clo
sure, P._rootRegisterUnaryCallback$closure, P._rootScheduleMicrotask$closure, P.
_rootCreateTimer$closure, P._rootCreatePeriodicTimer$closure, P._rootFork$closur
e); |
6218 C.List_empty0 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol]); | 6102 C.List_empty0 = H.setRuntimeTypeInfo(Isolate.makeConstantList([]), [P.Symbol]); |
6219 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty0)
, [P.Symbol, null]); | 6103 C.Map_empty = H.setRuntimeTypeInfo(new H.ConstantStringMap(0, {}, C.List_empty0)
, [P.Symbol, null]); |
6220 C._CustomizedZone_WYN = new P._CustomizedZone(null, C._ZoneSpecification_eDx, C.
Map_empty); | 6104 C._CustomizedZone_WYN = new P._CustomizedZone(null, C._ZoneSpecification_eDx, C.
Map_empty); |
6221 C._ZoneSpecification_eLJ = new P._ZoneSpecification(null, null, null, null, null
, null, null, null, null); | 6105 C._ZoneSpecification_eLJ = new P._ZoneSpecification(null, null, null, null, null
, null, null, null, null); |
6222 $.lazyPort = null; | 6106 $.lazyPort = null; |
6223 $.ReceivePortImpl__nextFreeId = 1; | 6107 $.ReceivePortImpl__nextFreeId = 1; |
6224 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; | 6108 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; |
6225 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; | 6109 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; |
6226 $.interceptorsByTag = null; | 6110 $.interceptorsByTag = null; |
6227 $.leafTags = null; | 6111 $.leafTags = null; |
6228 $.interceptorToTag = null; | 6112 $.interceptorToTag = null; |
6229 $._callbacksAreEnqueued = false; | 6113 $._callbacksAreEnqueued = false; |
6230 $.Zone__current = C._CustomizedZone_WYN; | 6114 $.Zone__current = C._CustomizedZone_WYN; |
6231 $.Expando__keyCount = 0; | 6115 $.Expando__keyCount = 0; |
6232 $.Device__isOpera = null; | 6116 $.Device__isOpera = null; |
6233 $.Device__isWebKit = null; | 6117 $.Device__isWebKit = null; |
6234 $.wordList = null; | 6118 $.inputNameElement = null; |
| 6119 $.genButtonElement = null; |
| 6120 $.useRandomName = false; |
| 6121 $.captainRadioElement = null; |
| 6122 $.scallywagRadioElement = null; |
6235 J.$$dom_addEventListener$3$x = function(receiver, a0, a1, a2) { | 6123 J.$$dom_addEventListener$3$x = function(receiver, a0, a1, a2) { |
6236 return J.getInterceptor$x(receiver).$$dom_addEventListener$3(receiver, a0, a1,
a2); | 6124 return J.getInterceptor$x(receiver).$$dom_addEventListener$3(receiver, a0, a1,
a2); |
6237 }; | 6125 }; |
6238 J.$$dom_removeEventListener$3$x = function(receiver, a0, a1, a2) { | 6126 J.$$dom_removeEventListener$3$x = function(receiver, a0, a1, a2) { |
6239 return J.getInterceptor$x(receiver).$$dom_removeEventListener$3(receiver, a0,
a1, a2); | 6127 return J.getInterceptor$x(receiver).$$dom_removeEventListener$3(receiver, a0,
a1, a2); |
6240 }; | 6128 }; |
6241 J.$eq = function(receiver, a0) { | 6129 J.$eq = function(receiver, a0) { |
6242 if (receiver == null) | 6130 if (receiver == null) |
6243 return a0 == null; | 6131 return a0 == null; |
6244 if (typeof receiver != "object") | 6132 if (typeof receiver != "object") |
6245 return a0 != null && receiver === a0; | 6133 return a0 != null && receiver === a0; |
6246 return J.getInterceptor(receiver).$eq(receiver, a0); | 6134 return J.getInterceptor(receiver).$eq(receiver, a0); |
6247 }; | 6135 }; |
6248 J.$ge$n = function(receiver, a0) { | 6136 J.$ge$n = function(receiver, a0) { |
6249 if (typeof receiver == "number" && typeof a0 == "number") | 6137 if (typeof receiver == "number" && typeof a0 == "number") |
6250 return receiver >= a0; | 6138 return receiver >= a0; |
6251 return J.getInterceptor$n(receiver).$ge(receiver, a0); | 6139 return J.getInterceptor$n(receiver).$ge(receiver, a0); |
6252 }; | 6140 }; |
6253 J.$index$asx = function(receiver, a0) { | 6141 J.$index$asx = function(receiver, a0) { |
6254 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) | 6142 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde
xable(receiver, receiver[init.dispatchPropertyName])) |
6255 if (a0 >>> 0 === a0 && a0 < receiver.length) | 6143 if (a0 >>> 0 === a0 && a0 < receiver.length) |
6256 return receiver[a0]; | 6144 return receiver[a0]; |
6257 return J.getInterceptor$asx(receiver).$index(receiver, a0); | 6145 return J.getInterceptor$asx(receiver).$index(receiver, a0); |
6258 }; | 6146 }; |
6259 J.$indexSet$ax = function(receiver, a0, a1) { | 6147 J.$indexSet$ax = function(receiver, a0, a1) { |
6260 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.
dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r
eceiver.length) | 6148 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.
dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r
eceiver.length) |
6261 return receiver[a0] = a1; | 6149 return receiver[a0] = a1; |
6262 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); | 6150 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); |
6263 }; | 6151 }; |
6264 J._replaceChild$2$x = function(receiver, a0, a1) { | |
6265 return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); | |
6266 }; | |
6267 J.elementAt$1$ax = function(receiver, a0) { | 6152 J.elementAt$1$ax = function(receiver, a0) { |
6268 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); | 6153 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); |
6269 }; | 6154 }; |
6270 J.forEach$1$ax = function(receiver, a0) { | 6155 J.forEach$1$ax = function(receiver, a0) { |
6271 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); | 6156 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); |
6272 }; | 6157 }; |
6273 J.get$children$x = function(receiver) { | 6158 J.get$checked$x = function(receiver) { |
6274 return J.getInterceptor$x(receiver).get$children(receiver); | 6159 return J.getInterceptor$x(receiver).get$checked(receiver); |
6275 }; | 6160 }; |
6276 J.get$hashCode$ = function(receiver) { | 6161 J.get$hashCode$ = function(receiver) { |
6277 return J.getInterceptor(receiver).get$hashCode(receiver); | 6162 return J.getInterceptor(receiver).get$hashCode(receiver); |
6278 }; | 6163 }; |
6279 J.get$iterator$ax = function(receiver) { | 6164 J.get$iterator$ax = function(receiver) { |
6280 return J.getInterceptor$ax(receiver).get$iterator(receiver); | 6165 return J.getInterceptor$ax(receiver).get$iterator(receiver); |
6281 }; | 6166 }; |
6282 J.get$length$asx = function(receiver) { | 6167 J.get$length$asx = function(receiver) { |
6283 return J.getInterceptor$asx(receiver).get$length(receiver); | 6168 return J.getInterceptor$asx(receiver).get$length(receiver); |
6284 }; | 6169 }; |
6285 J.get$responseText$x = function(receiver) { | 6170 J.get$responseText$x = function(receiver) { |
6286 return J.getInterceptor$x(receiver).get$responseText(receiver); | 6171 return J.getInterceptor$x(receiver).get$responseText(receiver); |
6287 }; | 6172 }; |
| 6173 J.get$target$x = function(receiver) { |
| 6174 return J.getInterceptor$x(receiver).get$target(receiver); |
| 6175 }; |
| 6176 J.get$value$x = function(receiver) { |
| 6177 return J.getInterceptor$x(receiver).get$value(receiver); |
| 6178 }; |
6288 J.map$1$ax = function(receiver, a0) { | 6179 J.map$1$ax = function(receiver, a0) { |
6289 return J.getInterceptor$ax(receiver).map$1(receiver, a0); | 6180 return J.getInterceptor$ax(receiver).map$1(receiver, a0); |
6290 }; | 6181 }; |
6291 J.replaceWith$1$x = function(receiver, a0) { | |
6292 return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); | |
6293 }; | |
6294 J.send$2$x = function(receiver, a0, a1) { | 6182 J.send$2$x = function(receiver, a0, a1) { |
6295 return J.getInterceptor$x(receiver).send$2(receiver, a0, a1); | 6183 return J.getInterceptor$x(receiver).send$2(receiver, a0, a1); |
6296 }; | 6184 }; |
| 6185 J.set$disabled$x = function(receiver, value) { |
| 6186 return J.getInterceptor$x(receiver).set$disabled(receiver, value); |
| 6187 }; |
6297 J.toString$0 = function(receiver) { | 6188 J.toString$0 = function(receiver) { |
6298 return J.getInterceptor(receiver).toString$0(receiver); | 6189 return J.getInterceptor(receiver).toString$0(receiver); |
6299 }; | 6190 }; |
6300 $.mapTypeToInterceptor = []; | 6191 $.mapTypeToInterceptor = []; |
6301 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { | 6192 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { |
6302 return function() { return this; }(); | 6193 return function() { return this; }(); |
6303 }); | 6194 }); |
6304 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function()
{ | 6195 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function()
{ |
6305 return $.get$globalThis().window; | 6196 return $.get$globalThis().window; |
6306 }); | 6197 }); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6357 }); | 6248 }); |
6358 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu
nction() { | 6249 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu
nction() { |
6359 return P.ListQueue$(null, {func: "void_", void: true}); | 6250 return P.ListQueue$(null, {func: "void_", void: true}); |
6360 }); | 6251 }); |
6361 Isolate.$lazy($, "_toStringList", "ListMixin__toStringList", "get$ListMixin__toS
tringList", function() { | 6252 Isolate.$lazy($, "_toStringList", "ListMixin__toStringList", "get$ListMixin__toS
tringList", function() { |
6362 return P.List_List(null, null); | 6253 return P.List_List(null, null); |
6363 }); | 6254 }); |
6364 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList"
, function() { | 6255 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList"
, function() { |
6365 return P.List_List(null, null); | 6256 return P.List_List(null, null); |
6366 }); | 6257 }); |
| 6258 Isolate.$lazy($, "names", "PirateName_names", "get$PirateName_names", function()
{ |
| 6259 return []; |
| 6260 }); |
| 6261 Isolate.$lazy($, "captains", "PirateName_captains", "get$PirateName_captains", f
unction() { |
| 6262 return []; |
| 6263 }); |
| 6264 Isolate.$lazy($, "scallywags", "PirateName_scallywags", "get$PirateName_scallywa
gs", function() { |
| 6265 return []; |
| 6266 }); |
6367 // Native classes | 6267 // Native classes |
6368 H.defineNativeMethods("DOMError|FileError|MediaError|MediaKeyError|Navigator|Nav
igatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList", J.Intercepto
r); | 6268 H.defineNativeMethods("DOMError|FileError|MediaError|MediaKeyError|Navigator|Nav
igatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList|SVGAnimatedStr
ing", J.Interceptor); |
6369 | 6269 |
6370 H.defineNativeMethods("HTMLAppletElement|HTMLAreaElement|HTMLAudioElement|HTMLBR
Element|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HT
MLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDeta
ilsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElemen
t|HTMLFieldSetElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLH
RElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HT
MLImageElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElemen
t|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMediaElement|HTMLMenuEle
ment|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObject
Element|HTMLOptGroupElement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphEle
ment|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLSc
riptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement
|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataC
ellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLT
ableSectionElement|HTMLTemplateElement|HTMLTextAreaElement|HTMLTitleElement|HTML
TrackElement|HTMLUListElement|HTMLUnknownElement|HTMLVideoElement", W.HtmlElemen
t); | 6270 H.defineNativeMethods("HTMLAppletElement|HTMLAudioElement|HTMLBRElement|HTMLBase
FontElement|HTMLBodyElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElemen
t|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|
HTMLDivElement|HTMLEmbedElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetEle
ment|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrame
Element|HTMLImageElement|HTMLLabelElement|HTMLLegendElement|HTMLMapElement|HTMLM
arqueeElement|HTMLMediaElement|HTMLMenuElement|HTMLMetaElement|HTMLModElement|HT
MLOListElement|HTMLObjectElement|HTMLParagraphElement|HTMLPreElement|HTMLQuoteEl
ement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTML
TableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellEl
ement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableS
ectionElement|HTMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListEle
ment|HTMLUnknownElement|HTMLVideoElement", W.HtmlElement); |
6371 | 6271 |
6372 H.defineNativeMethodsNonleaf("HTMLElement", W.HtmlElement); | 6272 H.defineNativeMethodsNonleaf("HTMLElement", W.HtmlElement); |
6373 | 6273 |
6374 H.defineNativeMethods("HTMLAnchorElement", W.AnchorElement); | 6274 H.defineNativeMethods("HTMLAnchorElement", W.AnchorElement); |
6375 | 6275 |
6376 H.defineNativeMethods("CDATASection|CharacterData|Comment|ProcessingInstruction|
Text", W.CharacterData); | 6276 H.defineNativeMethods("HTMLAreaElement", W.AreaElement); |
| 6277 |
| 6278 H.defineNativeMethods("HTMLBaseElement", W.BaseElement); |
| 6279 |
| 6280 H.defineNativeMethods("HTMLButtonElement", W.ButtonElement); |
| 6281 |
| 6282 H.defineNativeMethods("CDATASection|Comment|Text", W.CharacterData); |
| 6283 |
| 6284 H.defineNativeMethodsNonleaf("CharacterData", W.CharacterData); |
6377 | 6285 |
6378 H.defineNativeMethods("DOMException", W.DomException); | 6286 H.defineNativeMethods("DOMException", W.DomException); |
6379 | 6287 |
6380 H.defineNativeMethodsNonleaf("Element", W.Element); | 6288 H.defineNativeMethodsNonleaf("Element", W.Element); |
6381 | 6289 |
6382 H.defineNativeMethods("AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEve
nt|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientati
onEvent|ErrorEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MID
IMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStream
Event|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEve
nt|OverflowEvent|PageTransitionEvent|PopStateEvent|RTCDTMFToneChangeEvent|RTCDat
aChannelEvent|RTCIceCandidateEvent|SecurityPolicyViolationEvent|SpeechInputEvent
|SpeechRecognitionError|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent
|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransit
ionEvent", W.Event); | 6290 H.defineNativeMethods("AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEve
nt|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientati
onEvent|ErrorEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MID
IMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStream
Event|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEve
nt|OverflowEvent|PageTransitionEvent|PopStateEvent|RTCDTMFToneChangeEvent|RTCDat
aChannelEvent|RTCIceCandidateEvent|SecurityPolicyViolationEvent|SpeechInputEvent
|SpeechRecognitionError|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent
|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransit
ionEvent", W.Event); |
6383 | 6291 |
6384 H.defineNativeMethodsNonleaf("Event", W.Event); | 6292 H.defineNativeMethodsNonleaf("Event", W.Event); |
6385 | 6293 |
6386 H.defineNativeMethodsNonleaf("EventTarget", W.EventTarget); | 6294 H.defineNativeMethodsNonleaf("EventTarget", W.EventTarget); |
6387 | 6295 |
| 6296 H.defineNativeMethods("HTMLFieldSetElement", W.FieldSetElement); |
| 6297 |
6388 H.defineNativeMethods("HTMLFormElement", W.FormElement); | 6298 H.defineNativeMethods("HTMLFormElement", W.FormElement); |
6389 | 6299 |
6390 H.defineNativeMethods("HTMLCollection|HTMLFormControlsCollection|HTMLOptionsColl
ection", W.HtmlCollection); | |
6391 | |
6392 H.defineNativeMethods("XMLHttpRequest", W.HttpRequest); | 6300 H.defineNativeMethods("XMLHttpRequest", W.HttpRequest); |
6393 | 6301 |
6394 H.defineNativeMethods("HTMLInputElement", W.InputElement); | 6302 H.defineNativeMethods("HTMLInputElement", W.InputElement); |
6395 | 6303 |
| 6304 H.defineNativeMethods("HTMLKeygenElement", W.KeygenElement); |
| 6305 |
| 6306 H.defineNativeMethods("HTMLLIElement", W.LIElement); |
| 6307 |
| 6308 H.defineNativeMethods("HTMLLinkElement", W.LinkElement); |
| 6309 |
| 6310 H.defineNativeMethods("HTMLMeterElement", W.MeterElement); |
| 6311 |
6396 H.defineNativeMethods("DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|Mous
eWheelEvent|PointerEvent|WheelEvent", W.MouseEvent); | 6312 H.defineNativeMethods("DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|Mous
eWheelEvent|PointerEvent|WheelEvent", W.MouseEvent); |
6397 | 6313 |
6398 H.defineNativeMethods("Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDo
cument|Notation|SVGDocument|ShadowRoot", W.Node); | 6314 H.defineNativeMethods("Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDo
cument|Notation|SVGDocument|ShadowRoot", W.Node); |
6399 | 6315 |
6400 H.defineNativeMethodsNonleaf("Node", W.Node); | 6316 H.defineNativeMethodsNonleaf("Node", W.Node); |
6401 | 6317 |
6402 H.defineNativeMethods("NodeList|RadioNodeList", W.NodeList); | 6318 H.defineNativeMethods("HTMLOptGroupElement", W.OptGroupElement); |
| 6319 |
| 6320 H.defineNativeMethods("HTMLOptionElement", W.OptionElement); |
| 6321 |
| 6322 H.defineNativeMethods("HTMLOutputElement", W.OutputElement); |
| 6323 |
| 6324 H.defineNativeMethods("HTMLParamElement", W.ParamElement); |
| 6325 |
| 6326 H.defineNativeMethods("ProcessingInstruction", W.ProcessingInstruction); |
| 6327 |
| 6328 H.defineNativeMethods("HTMLProgressElement", W.ProgressElement); |
6403 | 6329 |
6404 H.defineNativeMethods("ProgressEvent|ResourceProgressEvent|XMLHttpRequestProgres
sEvent", W.ProgressEvent); | 6330 H.defineNativeMethods("ProgressEvent|ResourceProgressEvent|XMLHttpRequestProgres
sEvent", W.ProgressEvent); |
6405 | 6331 |
6406 H.defineNativeMethods("HTMLSelectElement", W.SelectElement); | 6332 H.defineNativeMethods("HTMLSelectElement", W.SelectElement); |
6407 | 6333 |
| 6334 H.defineNativeMethods("HTMLStyleElement", W.StyleElement); |
| 6335 |
| 6336 H.defineNativeMethods("HTMLTextAreaElement", W.TextAreaElement); |
| 6337 |
6408 H.defineNativeMethods("CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomEvent|Te
xtEvent|TouchEvent", W.UIEvent); | 6338 H.defineNativeMethods("CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomEvent|Te
xtEvent|TouchEvent", W.UIEvent); |
6409 | 6339 |
6410 H.defineNativeMethodsNonleaf("UIEvent", W.UIEvent); | 6340 H.defineNativeMethodsNonleaf("UIEvent", W.UIEvent); |
6411 | 6341 |
6412 H.defineNativeMethods("DOMWindow|Window", W.Window); | 6342 H.defineNativeMethods("DOMWindow|Window", W.Window); |
6413 | 6343 |
6414 H.defineNativeMethodsNonleaf("XMLHttpRequestEventTarget", W.XmlHttpRequestEventT
arget); | 6344 H.defineNativeMethodsNonleaf("XMLHttpRequestEventTarget", W.XmlHttpRequestEventT
arget); |
6415 | 6345 |
6416 H.defineNativeMethods("SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGA
ltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElem
ent|SVGAnimateTransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathE
lement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDe
scElement|SVGElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement
|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|
SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement
|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SV
GFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVG
FEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|S
VGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETi
leElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElem
ent|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFon
tFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefE
lement|SVGGradientElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVG
LineElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskEle
ment|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|
SVGPolygonElement|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVG
SVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwit
chElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTextContentElement|
SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGU
seElement|SVGVKernElement|SVGViewElement", P.SvgElement); | 6346 H.defineNativeMethods("SVGAElement", P.AElement); |
| 6347 |
| 6348 H.defineNativeMethods("SVGAltGlyphElement|SVGCircleElement|SVGClipPathElement|SV
GDefsElement|SVGEllipseElement|SVGForeignObjectElement|SVGGElement|SVGImageEleme
nt|SVGLineElement|SVGPathElement|SVGPolygonElement|SVGPolylineElement|SVGRectEle
ment|SVGSVGElement|SVGSwitchElement|SVGTRefElement|SVGTSpanElement|SVGTextConten
tElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGUseEleme
nt", P.GraphicsElement); |
| 6349 |
| 6350 H.defineNativeMethodsNonleaf("SVGGraphicsElement", P.GraphicsElement); |
| 6351 |
| 6352 H.defineNativeMethods("SVGStyleElement", P.StyleElement0); |
| 6353 |
| 6354 H.defineNativeMethods("SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimateCo
lorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|
SVGAnimationElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDesc
Element|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|
SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVG
FEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFl
oodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncREleme
nt|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeEl
ement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpec
ularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElemen
t|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SV
GFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGGlyphElement
|SVGGlyphRefElement|SVGGradientElement|SVGHKernElement|SVGLinearGradientElement|
SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGly
phElement|SVGPatternElement|SVGRadialGradientElement|SVGScriptElement|SVGSetElem
ent|SVGStopElement|SVGSymbolElement|SVGTitleElement|SVGVKernElement|SVGViewEleme
nt", P.SvgElement); |
| 6355 |
| 6356 H.defineNativeMethodsNonleaf("SVGElement", P.SvgElement); |
6417 | 6357 |
6418 H.defineNativeMethodsExtended("ArrayBufferView", P.TypedData, [P.TypedData_ListM
ixin, P.TypedData_ListMixin_FixedLengthListMixin]); | 6358 H.defineNativeMethodsExtended("ArrayBufferView", P.TypedData, [P.TypedData_ListM
ixin, P.TypedData_ListMixin_FixedLengthListMixin]); |
6419 | 6359 |
6420 H.defineNativeMethodsNonleaf("Uint8Array", P.Uint8List); | 6360 H.defineNativeMethodsNonleaf("Uint8Array", P.Uint8List); |
6421 | 6361 |
6422 | 6362 |
6423 init.functionAliases = {}; | 6363 init.functionAliases = {}; |
6424 ; | 6364 ; |
6425 init.metadata = []; | 6365 init.metadata = []; |
6426 $ = null; | 6366 $ = null; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6485 } | 6425 } |
6486 callback(event.target); | 6426 callback(event.target); |
6487 } | 6427 } |
6488 for (var i = 0; i < scripts.length; ++i) { | 6428 for (var i = 0; i < scripts.length; ++i) { |
6489 scripts[i].addEventListener("load", onLoad, false); | 6429 scripts[i].addEventListener("load", onLoad, false); |
6490 } | 6430 } |
6491 })(function(currentScript) { | 6431 })(function(currentScript) { |
6492 init.currentScript = currentScript; | 6432 init.currentScript = currentScript; |
6493 | 6433 |
6494 if (typeof dartMainRunner === "function") { | 6434 if (typeof dartMainRunner === "function") { |
6495 dartMainRunner(function() { H.startRootIsolate(O.main$closure); }); | 6435 dartMainRunner(function() { H.startRootIsolate(A.main$closure); }); |
6496 } else { | 6436 } else { |
6497 H.startRootIsolate(O.main$closure); | 6437 H.startRootIsolate(A.main$closure); |
6498 } | 6438 } |
6499 }); | 6439 }); |
6500 // END invoke [main]. | 6440 // END invoke [main]. |
6501 function init() { | 6441 function init() { |
6502 Isolate.$isolateProperties = {}; | 6442 Isolate.$isolateProperties = {}; |
6503 function generateAccessor(field, accessors, cls) { | 6443 function generateAccessor(field, accessors, cls) { |
6504 var len = field.length; | 6444 var len = field.length; |
6505 var code = field.charCodeAt(len - 1); | 6445 var code = field.charCodeAt(len - 1); |
6506 var reflectable = false; | 6446 var reflectable = false; |
6507 if (code == 45) { | 6447 if (code == 45) { |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6714 Isolate.prototype = oldIsolate.prototype; | 6654 Isolate.prototype = oldIsolate.prototype; |
6715 Isolate.prototype.constructor = Isolate; | 6655 Isolate.prototype.constructor = Isolate; |
6716 Isolate.$isolateProperties = isolateProperties; | 6656 Isolate.$isolateProperties = isolateProperties; |
6717 Isolate.$finishClasses = oldIsolate.$finishClasses; | 6657 Isolate.$finishClasses = oldIsolate.$finishClasses; |
6718 Isolate.makeConstantList = oldIsolate.makeConstantList; | 6658 Isolate.makeConstantList = oldIsolate.makeConstantList; |
6719 return Isolate; | 6659 return Isolate; |
6720 }; | 6660 }; |
6721 } | 6661 } |
6722 })() | 6662 })() |
6723 | 6663 |
6724 //# sourceMappingURL=portmanteaux_simple.dart.js.map | 6664 //# sourceMappingURL=piratebadge.dart.js.map |
6725 //@ sourceMappingURL=portmanteaux_simple.dart.js.map | 6665 //@ sourceMappingURL=piratebadge.dart.js.map |
OLD | NEW |