babel-source 5.1.13 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/babel.js +7117 -2671
- data/lib/babel/external-helpers.js +16 -5
- data/lib/babel/polyfill.js +296 -232
- data/lib/babel/source.rb +2 -2
- metadata +2 -2
@@ -73,7 +73,7 @@
|
|
73
73
|
}
|
74
74
|
}
|
75
75
|
|
76
|
-
if (descriptor.initializer) {
|
76
|
+
if (descriptor.initializer !== undefined) {
|
77
77
|
initializers[key] = descriptor;
|
78
78
|
continue;
|
79
79
|
}
|
@@ -115,8 +115,10 @@
|
|
115
115
|
}
|
116
116
|
}
|
117
117
|
|
118
|
-
|
119
|
-
|
118
|
+
if (descriptor.initializer) {
|
119
|
+
descriptor.value = descriptor.initializer.call(target);
|
120
|
+
Object.defineProperty(target, key, descriptor);
|
121
|
+
}
|
120
122
|
}
|
121
123
|
|
122
124
|
return target;
|
@@ -128,7 +130,8 @@
|
|
128
130
|
|
129
131
|
for (var _key in _descriptor) descriptor[_key] = _descriptor[_key];
|
130
132
|
|
131
|
-
|
133
|
+
if (!descriptor.initializer) return;
|
134
|
+
descriptor.value = descriptor.initializer.call(target);
|
132
135
|
Object.defineProperty(target, key, descriptor);
|
133
136
|
};
|
134
137
|
|
@@ -268,7 +271,7 @@
|
|
268
271
|
} else {
|
269
272
|
var newObj = {};
|
270
273
|
|
271
|
-
if (
|
274
|
+
if (obj != null) {
|
272
275
|
for (var key in obj) {
|
273
276
|
if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
|
274
277
|
}
|
@@ -383,6 +386,14 @@
|
|
383
386
|
return props;
|
384
387
|
};
|
385
388
|
|
389
|
+
babelHelpers._instanceof = function (left, right) {
|
390
|
+
if (right != null && right[Symbol.hasInstance]) {
|
391
|
+
return right[Symbol.hasInstance](left);
|
392
|
+
} else {
|
393
|
+
return left instanceof right;
|
394
|
+
}
|
395
|
+
};
|
396
|
+
|
386
397
|
babelHelpers.interopRequire = function (obj) {
|
387
398
|
return obj && obj.__esModule ? obj["default"] : obj;
|
388
399
|
};
|
data/lib/babel/polyfill.js
CHANGED
@@ -2,36 +2,24 @@
|
|
2
2
|
(function (global){
|
3
3
|
"use strict";
|
4
4
|
|
5
|
+
require("core-js/shim");
|
6
|
+
|
7
|
+
require("regenerator/runtime");
|
8
|
+
|
5
9
|
if (global._babelPolyfill) {
|
6
10
|
throw new Error("only one instance of babel/polyfill is allowed");
|
7
11
|
}
|
8
12
|
global._babelPolyfill = true;
|
9
|
-
|
10
|
-
require("core-js/shim");
|
11
|
-
|
12
|
-
require("regenerator/runtime");
|
13
13
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
14
14
|
},{"core-js/shim":81,"regenerator/runtime":82}],2:[function(require,module,exports){
|
15
|
-
module.exports = function(KEY, TYPE){
|
16
|
-
var $def = require('./$.def')
|
17
|
-
, $export = {}
|
18
|
-
, forced = true;
|
19
|
-
// Shouldn't skip holes
|
20
|
-
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
21
|
-
$export[KEY] = require('./$.array-methods')(TYPE);
|
22
|
-
$def($def.P + $def.F * forced, 'Array', $export);
|
23
|
-
require('./$.unscope')(KEY);
|
24
|
-
};
|
25
|
-
},{"./$.array-methods":4,"./$.def":13,"./$.unscope":34}],3:[function(require,module,exports){
|
26
|
-
'use strict';
|
27
15
|
// false -> Array#indexOf
|
28
16
|
// true -> Array#includes
|
29
17
|
var $ = require('./$');
|
30
18
|
module.exports = function(IS_INCLUDES){
|
31
|
-
return function(el
|
32
|
-
var O = $.toObject(this)
|
19
|
+
return function($this, el, fromIndex){
|
20
|
+
var O = $.toObject($this)
|
33
21
|
, length = $.toLength(O.length)
|
34
|
-
, index = $.toIndex(
|
22
|
+
, index = $.toIndex(fromIndex, length)
|
35
23
|
, value;
|
36
24
|
if(IS_INCLUDES && el != el)while(length > index){
|
37
25
|
value = O[index++];
|
@@ -41,8 +29,7 @@ module.exports = function(IS_INCLUDES){
|
|
41
29
|
} return !IS_INCLUDES && -1;
|
42
30
|
};
|
43
31
|
};
|
44
|
-
},{"./$":
|
45
|
-
'use strict';
|
32
|
+
},{"./$":22}],3:[function(require,module,exports){
|
46
33
|
// 0 -> Array#forEach
|
47
34
|
// 1 -> Array#map
|
48
35
|
// 2 -> Array#filter
|
@@ -59,10 +46,10 @@ module.exports = function(TYPE){
|
|
59
46
|
, IS_EVERY = TYPE == 4
|
60
47
|
, IS_FIND_INDEX = TYPE == 6
|
61
48
|
, NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
62
|
-
return function(callbackfn
|
63
|
-
var O = Object($.assertDefined(this))
|
49
|
+
return function($this, callbackfn, that){
|
50
|
+
var O = Object($.assertDefined($this))
|
64
51
|
, self = $.ES5Object(O)
|
65
|
-
, f = ctx(callbackfn,
|
52
|
+
, f = ctx(callbackfn, that, 3)
|
66
53
|
, length = $.toLength(self.length)
|
67
54
|
, index = 0
|
68
55
|
, result = IS_MAP ? Array(length) : IS_FILTER ? [] : undefined
|
@@ -83,7 +70,7 @@ module.exports = function(TYPE){
|
|
83
70
|
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
|
84
71
|
};
|
85
72
|
};
|
86
|
-
},{"./$":
|
73
|
+
},{"./$":22,"./$.ctx":11}],4:[function(require,module,exports){
|
87
74
|
var $ = require('./$');
|
88
75
|
function assert(condition, msg1, msg2){
|
89
76
|
if(!condition)throw TypeError(msg2 ? msg1 + msg2 : msg1);
|
@@ -102,7 +89,7 @@ assert.inst = function(it, Constructor, name){
|
|
102
89
|
return it;
|
103
90
|
};
|
104
91
|
module.exports = assert;
|
105
|
-
},{"./$":
|
92
|
+
},{"./$":22}],5:[function(require,module,exports){
|
106
93
|
var $ = require('./$')
|
107
94
|
, enumKeys = require('./$.enum-keys');
|
108
95
|
// 19.1.2.1 Object.assign(target, source, ...)
|
@@ -122,7 +109,7 @@ module.exports = Object.assign || function assign(target, source){
|
|
122
109
|
}
|
123
110
|
return T;
|
124
111
|
};
|
125
|
-
},{"./$":
|
112
|
+
},{"./$":22,"./$.enum-keys":14}],6:[function(require,module,exports){
|
126
113
|
var $ = require('./$')
|
127
114
|
, TAG = require('./$.wks')('toStringTag')
|
128
115
|
, toString = {}.toString;
|
@@ -138,7 +125,7 @@ cof.set = function(it, tag, stat){
|
|
138
125
|
if(it && !$.has(it = stat ? it : it.prototype, TAG))$.hide(it, TAG, tag);
|
139
126
|
};
|
140
127
|
module.exports = cof;
|
141
|
-
},{"./$":
|
128
|
+
},{"./$":22,"./$.wks":34}],7:[function(require,module,exports){
|
142
129
|
'use strict';
|
143
130
|
var $ = require('./$')
|
144
131
|
, ctx = require('./$.ctx')
|
@@ -295,7 +282,7 @@ module.exports = {
|
|
295
282
|
}, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
|
296
283
|
}
|
297
284
|
};
|
298
|
-
},{"./$":
|
285
|
+
},{"./$":22,"./$.assert":4,"./$.ctx":11,"./$.for-of":15,"./$.iter":21,"./$.iter-define":19,"./$.uid":32}],8:[function(require,module,exports){
|
299
286
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
300
287
|
var $def = require('./$.def')
|
301
288
|
, forOf = require('./$.for-of');
|
@@ -308,7 +295,7 @@ module.exports = function(NAME){
|
|
308
295
|
}
|
309
296
|
});
|
310
297
|
};
|
311
|
-
},{"./$.def":
|
298
|
+
},{"./$.def":12,"./$.for-of":15}],9:[function(require,module,exports){
|
312
299
|
'use strict';
|
313
300
|
var $ = require('./$')
|
314
301
|
, safe = require('./$.uid').safe
|
@@ -326,7 +313,7 @@ var $ = require('./$')
|
|
326
313
|
, find = method(5)
|
327
314
|
, findIndex = method(6);
|
328
315
|
function findFrozen(store, key){
|
329
|
-
return find
|
316
|
+
return find(store.array, function(it){
|
330
317
|
return it[0] === key;
|
331
318
|
});
|
332
319
|
}
|
@@ -347,7 +334,7 @@ function leakStore(that){
|
|
347
334
|
else this.array.push([key, value]);
|
348
335
|
},
|
349
336
|
'delete': function(key){
|
350
|
-
var index = findIndex
|
337
|
+
var index = findIndex(this.array, function(it){
|
351
338
|
return it[0] === key;
|
352
339
|
});
|
353
340
|
if(~index)this.array.splice(index, 1);
|
@@ -393,7 +380,7 @@ module.exports = {
|
|
393
380
|
WEAK: WEAK,
|
394
381
|
ID: ID
|
395
382
|
};
|
396
|
-
},{"./$":
|
383
|
+
},{"./$":22,"./$.array-methods":3,"./$.assert":4,"./$.for-of":15,"./$.uid":32}],10:[function(require,module,exports){
|
397
384
|
'use strict';
|
398
385
|
var $ = require('./$')
|
399
386
|
, $def = require('./$.def')
|
@@ -459,7 +446,7 @@ module.exports = function(NAME, methods, common, IS_MAP, IS_WEAK){
|
|
459
446
|
|
460
447
|
return C;
|
461
448
|
};
|
462
|
-
},{"./$":
|
449
|
+
},{"./$":22,"./$.assert":4,"./$.cof":6,"./$.def":12,"./$.for-of":15,"./$.iter":21,"./$.iter-detect":20,"./$.species":28}],11:[function(require,module,exports){
|
463
450
|
// Optional / simple context binding
|
464
451
|
var assertFunction = require('./$.assert').fn;
|
465
452
|
module.exports = function(fn, that, length){
|
@@ -479,7 +466,7 @@ module.exports = function(fn, that, length){
|
|
479
466
|
return fn.apply(that, arguments);
|
480
467
|
};
|
481
468
|
};
|
482
|
-
},{"./$.assert":
|
469
|
+
},{"./$.assert":4}],12:[function(require,module,exports){
|
483
470
|
var $ = require('./$')
|
484
471
|
, global = $.g
|
485
472
|
, core = $.core
|
@@ -522,7 +509,7 @@ function $def(type, name, source){
|
|
522
509
|
}
|
523
510
|
}
|
524
511
|
module.exports = $def;
|
525
|
-
},{"./$":
|
512
|
+
},{"./$":22}],13:[function(require,module,exports){
|
526
513
|
var $ = require('./$')
|
527
514
|
, document = $.g.document
|
528
515
|
, isObject = $.isObject
|
@@ -531,7 +518,7 @@ var $ = require('./$')
|
|
531
518
|
module.exports = function(it){
|
532
519
|
return is ? document.createElement(it) : {};
|
533
520
|
};
|
534
|
-
},{"./$":
|
521
|
+
},{"./$":22}],14:[function(require,module,exports){
|
535
522
|
var $ = require('./$');
|
536
523
|
module.exports = function(it){
|
537
524
|
var keys = $.getKeys(it)
|
@@ -542,7 +529,7 @@ module.exports = function(it){
|
|
542
529
|
});
|
543
530
|
return keys;
|
544
531
|
};
|
545
|
-
},{"./$":
|
532
|
+
},{"./$":22}],15:[function(require,module,exports){
|
546
533
|
var ctx = require('./$.ctx')
|
547
534
|
, get = require('./$.iter').get
|
548
535
|
, call = require('./$.iter-call');
|
@@ -556,13 +543,13 @@ module.exports = function(iterable, entries, fn, that){
|
|
556
543
|
}
|
557
544
|
}
|
558
545
|
};
|
559
|
-
},{"./$.ctx":
|
546
|
+
},{"./$.ctx":11,"./$.iter":21,"./$.iter-call":18}],16:[function(require,module,exports){
|
560
547
|
module.exports = function($){
|
561
548
|
$.FW = true;
|
562
549
|
$.path = $.g;
|
563
550
|
return $;
|
564
551
|
};
|
565
|
-
},{}],
|
552
|
+
},{}],17:[function(require,module,exports){
|
566
553
|
// Fast apply
|
567
554
|
// http://jsperf.lnkit.com/fast-apply/5
|
568
555
|
module.exports = function(fn, args, that){
|
@@ -582,7 +569,7 @@ module.exports = function(fn, args, that){
|
|
582
569
|
: fn.call(that, args[0], args[1], args[2], args[3], args[4]);
|
583
570
|
} return fn.apply(that, args);
|
584
571
|
};
|
585
|
-
},{}],
|
572
|
+
},{}],18:[function(require,module,exports){
|
586
573
|
var assertObject = require('./$.assert').obj;
|
587
574
|
function close(iterator){
|
588
575
|
var ret = iterator['return'];
|
@@ -598,21 +585,26 @@ function call(iterator, fn, value, entries){
|
|
598
585
|
}
|
599
586
|
call.close = close;
|
600
587
|
module.exports = call;
|
601
|
-
},{"./$.assert":
|
588
|
+
},{"./$.assert":4}],19:[function(require,module,exports){
|
602
589
|
var $def = require('./$.def')
|
603
590
|
, $ = require('./$')
|
604
591
|
, cof = require('./$.cof')
|
605
592
|
, $iter = require('./$.iter')
|
606
593
|
, SYMBOL_ITERATOR = require('./$.wks')('iterator')
|
607
594
|
, FF_ITERATOR = '@@iterator'
|
595
|
+
, KEYS = 'keys'
|
608
596
|
, VALUES = 'values'
|
609
597
|
, Iterators = $iter.Iterators;
|
610
598
|
module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE){
|
611
599
|
$iter.create(Constructor, NAME, next);
|
612
600
|
function createMethod(kind){
|
613
|
-
|
614
|
-
return new Constructor(
|
615
|
-
}
|
601
|
+
function $$(that){
|
602
|
+
return new Constructor(that, kind);
|
603
|
+
}
|
604
|
+
switch(kind){
|
605
|
+
case KEYS: return function keys(){ return $$(this); };
|
606
|
+
case VALUES: return function values(){ return $$(this); };
|
607
|
+
} return function entries(){ return $$(this); };
|
616
608
|
}
|
617
609
|
var TAG = NAME + ' Iterator'
|
618
610
|
, proto = Base.prototype
|
@@ -634,7 +626,7 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE)
|
|
634
626
|
Iterators[TAG] = $.that;
|
635
627
|
if(DEFAULT){
|
636
628
|
methods = {
|
637
|
-
keys: IS_SET ? _default : createMethod(
|
629
|
+
keys: IS_SET ? _default : createMethod(KEYS),
|
638
630
|
values: DEFAULT == VALUES ? _default : createMethod(VALUES),
|
639
631
|
entries: DEFAULT != VALUES ? _default : createMethod('entries')
|
640
632
|
};
|
@@ -643,7 +635,7 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE)
|
|
643
635
|
} else $def($def.P + $def.F * $iter.BUGGY, NAME, methods);
|
644
636
|
}
|
645
637
|
};
|
646
|
-
},{"./$":
|
638
|
+
},{"./$":22,"./$.cof":6,"./$.def":12,"./$.iter":21,"./$.wks":34}],20:[function(require,module,exports){
|
647
639
|
var SYMBOL_ITERATOR = require('./$.wks')('iterator')
|
648
640
|
, SAFE_CLOSING = false;
|
649
641
|
try {
|
@@ -663,7 +655,7 @@ module.exports = function(exec){
|
|
663
655
|
} catch(e){ /* empty */ }
|
664
656
|
return safe;
|
665
657
|
};
|
666
|
-
},{"./$.wks":
|
658
|
+
},{"./$.wks":34}],21:[function(require,module,exports){
|
667
659
|
'use strict';
|
668
660
|
var $ = require('./$')
|
669
661
|
, cof = require('./$.cof')
|
@@ -705,7 +697,7 @@ module.exports = {
|
|
705
697
|
cof.set(Constructor, NAME + ' Iterator');
|
706
698
|
}
|
707
699
|
};
|
708
|
-
},{"./$":
|
700
|
+
},{"./$":22,"./$.assert":4,"./$.cof":6,"./$.wks":34}],22:[function(require,module,exports){
|
709
701
|
'use strict';
|
710
702
|
var global = typeof self != 'undefined' ? self : Function('return this')()
|
711
703
|
, core = {}
|
@@ -809,7 +801,7 @@ var $ = module.exports = require('./$.fw')({
|
|
809
801
|
/* eslint-disable no-undef */
|
810
802
|
if(typeof __e != 'undefined')__e = core;
|
811
803
|
if(typeof __g != 'undefined')__g = global;
|
812
|
-
},{"./$.fw":
|
804
|
+
},{"./$.fw":16}],23:[function(require,module,exports){
|
813
805
|
var $ = require('./$');
|
814
806
|
module.exports = function(object, el){
|
815
807
|
var O = $.toObject(object)
|
@@ -819,7 +811,7 @@ module.exports = function(object, el){
|
|
819
811
|
, key;
|
820
812
|
while(length > index)if(O[key = keys[index++]] === el)return key;
|
821
813
|
};
|
822
|
-
},{"./$":
|
814
|
+
},{"./$":22}],24:[function(require,module,exports){
|
823
815
|
var $ = require('./$')
|
824
816
|
, assertObject = require('./$.assert').obj;
|
825
817
|
module.exports = function ownKeys(it){
|
@@ -828,7 +820,7 @@ module.exports = function ownKeys(it){
|
|
828
820
|
, getSymbols = $.getSymbols;
|
829
821
|
return getSymbols ? keys.concat(getSymbols(it)) : keys;
|
830
822
|
};
|
831
|
-
},{"./$":
|
823
|
+
},{"./$":22,"./$.assert":4}],25:[function(require,module,exports){
|
832
824
|
'use strict';
|
833
825
|
var $ = require('./$')
|
834
826
|
, invoke = require('./$.invoke')
|
@@ -852,7 +844,7 @@ module.exports = function(/* ...pargs */){
|
|
852
844
|
return invoke(fn, args, that);
|
853
845
|
};
|
854
846
|
};
|
855
|
-
},{"./$":
|
847
|
+
},{"./$":22,"./$.assert":4,"./$.invoke":17}],26:[function(require,module,exports){
|
856
848
|
'use strict';
|
857
849
|
module.exports = function(regExp, replace, isStatic){
|
858
850
|
var replacer = replace === Object(replace) ? function(part){
|
@@ -862,7 +854,7 @@ module.exports = function(regExp, replace, isStatic){
|
|
862
854
|
return String(isStatic ? it : this).replace(regExp, replacer);
|
863
855
|
};
|
864
856
|
};
|
865
|
-
},{}],
|
857
|
+
},{}],27:[function(require,module,exports){
|
866
858
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
867
859
|
/* eslint-disable no-proto */
|
868
860
|
var $ = require('./$')
|
@@ -888,7 +880,7 @@ module.exports = {
|
|
888
880
|
: undefined),
|
889
881
|
check: check
|
890
882
|
};
|
891
|
-
},{"./$":
|
883
|
+
},{"./$":22,"./$.assert":4,"./$.ctx":11}],28:[function(require,module,exports){
|
892
884
|
var $ = require('./$')
|
893
885
|
, SPECIES = require('./$.wks')('species');
|
894
886
|
module.exports = function(C){
|
@@ -897,14 +889,13 @@ module.exports = function(C){
|
|
897
889
|
get: $.that
|
898
890
|
});
|
899
891
|
};
|
900
|
-
},{"./$":
|
901
|
-
'use strict';
|
892
|
+
},{"./$":22,"./$.wks":34}],29:[function(require,module,exports){
|
902
893
|
// true -> String#at
|
903
894
|
// false -> String#codePointAt
|
904
895
|
var $ = require('./$');
|
905
896
|
module.exports = function(TO_STRING){
|
906
|
-
return function(pos){
|
907
|
-
var s = String($.assertDefined(
|
897
|
+
return function(that, pos){
|
898
|
+
var s = String($.assertDefined(that))
|
908
899
|
, i = $.toInteger(pos)
|
909
900
|
, l = s.length
|
910
901
|
, a, b;
|
@@ -916,7 +907,7 @@ module.exports = function(TO_STRING){
|
|
916
907
|
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
917
908
|
};
|
918
909
|
};
|
919
|
-
},{"./$":
|
910
|
+
},{"./$":22}],30:[function(require,module,exports){
|
920
911
|
'use strict';
|
921
912
|
var $ = require('./$')
|
922
913
|
, ctx = require('./$.ctx')
|
@@ -998,7 +989,7 @@ module.exports = {
|
|
998
989
|
set: setTask,
|
999
990
|
clear: clearTask
|
1000
991
|
};
|
1001
|
-
},{"./$":
|
992
|
+
},{"./$":22,"./$.cof":6,"./$.ctx":11,"./$.dom-create":13,"./$.invoke":17}],31:[function(require,module,exports){
|
1002
993
|
module.exports = function(exec){
|
1003
994
|
try {
|
1004
995
|
exec();
|
@@ -1007,14 +998,14 @@ module.exports = function(exec){
|
|
1007
998
|
return true;
|
1008
999
|
}
|
1009
1000
|
};
|
1010
|
-
},{}],
|
1001
|
+
},{}],32:[function(require,module,exports){
|
1011
1002
|
var sid = 0;
|
1012
1003
|
function uid(key){
|
1013
1004
|
return 'Symbol(' + key + ')_' + (++sid + Math.random()).toString(36);
|
1014
1005
|
}
|
1015
1006
|
uid.safe = require('./$').g.Symbol || uid;
|
1016
1007
|
module.exports = uid;
|
1017
|
-
},{"./$":
|
1008
|
+
},{"./$":22}],33:[function(require,module,exports){
|
1018
1009
|
// 22.1.3.31 Array.prototype[@@unscopables]
|
1019
1010
|
var $ = require('./$')
|
1020
1011
|
, UNSCOPABLES = require('./$.wks')('unscopables');
|
@@ -1022,14 +1013,14 @@ if($.FW && !(UNSCOPABLES in []))$.hide(Array.prototype, UNSCOPABLES, {});
|
|
1022
1013
|
module.exports = function(key){
|
1023
1014
|
if($.FW)[][UNSCOPABLES][key] = true;
|
1024
1015
|
};
|
1025
|
-
},{"./$":
|
1016
|
+
},{"./$":22,"./$.wks":34}],34:[function(require,module,exports){
|
1026
1017
|
var global = require('./$').g
|
1027
1018
|
, store = {};
|
1028
1019
|
module.exports = function(name){
|
1029
1020
|
return store[name] || (store[name] =
|
1030
1021
|
global.Symbol && global.Symbol[name] || require('./$.uid').safe('Symbol.' + name));
|
1031
1022
|
};
|
1032
|
-
},{"./$":
|
1023
|
+
},{"./$":22,"./$.uid":32}],35:[function(require,module,exports){
|
1033
1024
|
var $ = require('./$')
|
1034
1025
|
, cel = require('./$.dom-create')
|
1035
1026
|
, cof = require('./$.cof')
|
@@ -1051,7 +1042,13 @@ var $ = require('./$')
|
|
1051
1042
|
, isFunction = $.isFunction
|
1052
1043
|
, toObject = $.toObject
|
1053
1044
|
, toLength = $.toLength
|
1054
|
-
, IE8_DOM_DEFINE = false
|
1045
|
+
, IE8_DOM_DEFINE = false
|
1046
|
+
, $indexOf = require('./$.array-includes')(false)
|
1047
|
+
, $forEach = arrayMethod(0)
|
1048
|
+
, $map = arrayMethod(1)
|
1049
|
+
, $filter = arrayMethod(2)
|
1050
|
+
, $some = arrayMethod(3)
|
1051
|
+
, $every = arrayMethod(4);
|
1055
1052
|
|
1056
1053
|
if(!$.DESC){
|
1057
1054
|
try {
|
@@ -1234,21 +1231,33 @@ function createArrayReduce(isRight){
|
|
1234
1231
|
}
|
1235
1232
|
$def($def.P, 'Array', {
|
1236
1233
|
// 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
|
1237
|
-
forEach: $.each = $.each ||
|
1234
|
+
forEach: $.each = $.each || function forEach(callbackfn/*, that = undefined */){
|
1235
|
+
return $forEach(this, callbackfn, arguments[1]);
|
1236
|
+
},
|
1238
1237
|
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
1239
|
-
map:
|
1238
|
+
map: function map(callbackfn/*, that = undefined */){
|
1239
|
+
return $map(this, callbackfn, arguments[1]);
|
1240
|
+
},
|
1240
1241
|
// 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
|
1241
|
-
filter:
|
1242
|
+
filter: function filter(callbackfn/*, that = undefined */){
|
1243
|
+
return $filter(this, callbackfn, arguments[1]);
|
1244
|
+
},
|
1242
1245
|
// 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
|
1243
|
-
some:
|
1246
|
+
some: function some(callbackfn/*, that = undefined */){
|
1247
|
+
return $some(this, callbackfn, arguments[1]);
|
1248
|
+
},
|
1244
1249
|
// 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
|
1245
|
-
every:
|
1250
|
+
every: function every(callbackfn/*, that = undefined */){
|
1251
|
+
return $every(this, callbackfn, arguments[1]);
|
1252
|
+
},
|
1246
1253
|
// 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
|
1247
1254
|
reduce: createArrayReduce(false),
|
1248
1255
|
// 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
|
1249
1256
|
reduceRight: createArrayReduce(true),
|
1250
1257
|
// 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
|
1251
|
-
indexOf: indexOf = indexOf ||
|
1258
|
+
indexOf: indexOf = indexOf || function indexOf(el /*, fromIndex = 0 */){
|
1259
|
+
return $indexOf(this, el, arguments[1]);
|
1260
|
+
},
|
1252
1261
|
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
1253
1262
|
lastIndexOf: function(el, fromIndex /* = @[*-1] */){
|
1254
1263
|
var O = toObject(this)
|
@@ -1276,7 +1285,8 @@ function lz(num){
|
|
1276
1285
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
1277
1286
|
// PhantomJS and old webkit had a broken Date implementation.
|
1278
1287
|
var date = new Date(-5e13 - 1)
|
1279
|
-
, brokenDate = !(date.toISOString && date.toISOString() == '0385-07-25T07:06:39.999Z'
|
1288
|
+
, brokenDate = !(date.toISOString && date.toISOString() == '0385-07-25T07:06:39.999Z'
|
1289
|
+
&& require('./$.throws')(function(){ new Date(NaN).toISOString(); }));
|
1280
1290
|
$def($def.P + $def.F * brokenDate, 'Date', {toISOString: function(){
|
1281
1291
|
if(!isFinite(this))throw RangeError('Invalid time value');
|
1282
1292
|
var d = this
|
@@ -1293,7 +1303,7 @@ if(classof(function(){ return arguments; }()) == 'Object')cof.classof = function
|
|
1293
1303
|
var tag = classof(it);
|
1294
1304
|
return tag == 'Object' && isFunction(it.callee) ? 'Arguments' : tag;
|
1295
1305
|
};
|
1296
|
-
},{"./$":
|
1306
|
+
},{"./$":22,"./$.array-includes":2,"./$.array-methods":3,"./$.assert":4,"./$.cof":6,"./$.def":12,"./$.dom-create":13,"./$.invoke":17,"./$.replacer":26,"./$.throws":31,"./$.uid":32}],36:[function(require,module,exports){
|
1297
1307
|
'use strict';
|
1298
1308
|
var $ = require('./$')
|
1299
1309
|
, $def = require('./$.def')
|
@@ -1323,7 +1333,7 @@ $def($def.P, 'Array', {
|
|
1323
1333
|
}
|
1324
1334
|
});
|
1325
1335
|
require('./$.unscope')('copyWithin');
|
1326
|
-
},{"./$":
|
1336
|
+
},{"./$":22,"./$.def":12,"./$.unscope":33}],37:[function(require,module,exports){
|
1327
1337
|
'use strict';
|
1328
1338
|
var $ = require('./$')
|
1329
1339
|
, $def = require('./$.def')
|
@@ -1341,13 +1351,37 @@ $def($def.P, 'Array', {
|
|
1341
1351
|
}
|
1342
1352
|
});
|
1343
1353
|
require('./$.unscope')('fill');
|
1344
|
-
},{"./$":
|
1354
|
+
},{"./$":22,"./$.def":12,"./$.unscope":33}],38:[function(require,module,exports){
|
1355
|
+
'use strict';
|
1345
1356
|
// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
|
1346
|
-
|
1347
|
-
|
1357
|
+
var KEY = 'findIndex'
|
1358
|
+
, $def = require('./$.def')
|
1359
|
+
, forced = true
|
1360
|
+
, $find = require('./$.array-methods')(6);
|
1361
|
+
// Shouldn't skip holes
|
1362
|
+
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
1363
|
+
$def($def.P + $def.F * forced, 'Array', {
|
1364
|
+
findIndex: function findIndex(callbackfn/*, that = undefined */){
|
1365
|
+
return $find(this, callbackfn, arguments[1]);
|
1366
|
+
}
|
1367
|
+
});
|
1368
|
+
require('./$.unscope')(KEY);
|
1369
|
+
},{"./$.array-methods":3,"./$.def":12,"./$.unscope":33}],39:[function(require,module,exports){
|
1370
|
+
'use strict';
|
1348
1371
|
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
|
1349
|
-
|
1350
|
-
|
1372
|
+
var KEY = 'find'
|
1373
|
+
, $def = require('./$.def')
|
1374
|
+
, forced = true
|
1375
|
+
, $find = require('./$.array-methods')(5);
|
1376
|
+
// Shouldn't skip holes
|
1377
|
+
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
1378
|
+
$def($def.P + $def.F * forced, 'Array', {
|
1379
|
+
find: function find(callbackfn/*, that = undefined */){
|
1380
|
+
return $find(this, callbackfn, arguments[1]);
|
1381
|
+
}
|
1382
|
+
});
|
1383
|
+
require('./$.unscope')(KEY);
|
1384
|
+
},{"./$.array-methods":3,"./$.def":12,"./$.unscope":33}],40:[function(require,module,exports){
|
1351
1385
|
var $ = require('./$')
|
1352
1386
|
, ctx = require('./$.ctx')
|
1353
1387
|
, $def = require('./$.def')
|
@@ -1380,7 +1414,7 @@ $def($def.S + $def.F * !require('./$.iter-detect')(function(iter){ Array.from(it
|
|
1380
1414
|
return result;
|
1381
1415
|
}
|
1382
1416
|
});
|
1383
|
-
},{"./$":
|
1417
|
+
},{"./$":22,"./$.ctx":11,"./$.def":12,"./$.iter":21,"./$.iter-call":18,"./$.iter-detect":20}],41:[function(require,module,exports){
|
1384
1418
|
var $ = require('./$')
|
1385
1419
|
, setUnscope = require('./$.unscope')
|
1386
1420
|
, ITER = require('./$.uid').safe('iter')
|
@@ -1415,7 +1449,7 @@ Iterators.Arguments = Iterators.Array;
|
|
1415
1449
|
setUnscope('keys');
|
1416
1450
|
setUnscope('values');
|
1417
1451
|
setUnscope('entries');
|
1418
|
-
},{"./$":
|
1452
|
+
},{"./$":22,"./$.iter":21,"./$.iter-define":19,"./$.uid":32,"./$.unscope":33}],42:[function(require,module,exports){
|
1419
1453
|
var $def = require('./$.def');
|
1420
1454
|
$def($def.S, 'Array', {
|
1421
1455
|
// 22.1.2.3 Array.of( ...items)
|
@@ -1429,9 +1463,21 @@ $def($def.S, 'Array', {
|
|
1429
1463
|
return result;
|
1430
1464
|
}
|
1431
1465
|
});
|
1432
|
-
},{"./$.def":
|
1466
|
+
},{"./$.def":12}],43:[function(require,module,exports){
|
1433
1467
|
require('./$.species')(Array);
|
1434
|
-
},{"./$.species":
|
1468
|
+
},{"./$.species":28}],44:[function(require,module,exports){
|
1469
|
+
var $ = require('./$')
|
1470
|
+
, HAS_INSTANCE = require('./$.wks')('hasInstance')
|
1471
|
+
, FunctionProto = Function.prototype;
|
1472
|
+
// 19.2.3.6 Function.prototype[@@hasInstance](V)
|
1473
|
+
if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
|
1474
|
+
if(!$.isFunction(this) || !$.isObject(O))return false;
|
1475
|
+
if(!$.isObject(this.prototype))return O instanceof this;
|
1476
|
+
// for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
|
1477
|
+
while(O = $.getProto(O))if(this.prototype === O)return true;
|
1478
|
+
return false;
|
1479
|
+
}});
|
1480
|
+
},{"./$":22,"./$.wks":34}],45:[function(require,module,exports){
|
1435
1481
|
'use strict';
|
1436
1482
|
var $ = require('./$')
|
1437
1483
|
, NAME = 'name'
|
@@ -1450,7 +1496,7 @@ NAME in FunctionProto || $.FW && $.DESC && setDesc(FunctionProto, NAME, {
|
|
1450
1496
|
$.has(this, NAME) || setDesc(this, NAME, $.desc(0, value));
|
1451
1497
|
}
|
1452
1498
|
});
|
1453
|
-
},{"./$":
|
1499
|
+
},{"./$":22}],46:[function(require,module,exports){
|
1454
1500
|
'use strict';
|
1455
1501
|
var strong = require('./$.collection-strong');
|
1456
1502
|
|
@@ -1466,7 +1512,7 @@ require('./$.collection')('Map', {
|
|
1466
1512
|
return strong.def(this, key === 0 ? 0 : key, value);
|
1467
1513
|
}
|
1468
1514
|
}, strong, true);
|
1469
|
-
},{"./$.collection":
|
1515
|
+
},{"./$.collection":10,"./$.collection-strong":7}],47:[function(require,module,exports){
|
1470
1516
|
var Infinity = 1 / 0
|
1471
1517
|
, $def = require('./$.def')
|
1472
1518
|
, E = Math.E
|
@@ -1589,15 +1635,15 @@ $def($def.S, 'Math', {
|
|
1589
1635
|
return (it > 0 ? floor : ceil)(it);
|
1590
1636
|
}
|
1591
1637
|
});
|
1592
|
-
},{"./$.def":
|
1638
|
+
},{"./$.def":12}],48:[function(require,module,exports){
|
1593
1639
|
'use strict';
|
1594
1640
|
var $ = require('./$')
|
1595
1641
|
, isObject = $.isObject
|
1596
1642
|
, isFunction = $.isFunction
|
1597
1643
|
, NUMBER = 'Number'
|
1598
|
-
, Number
|
1599
|
-
, Base = Number
|
1600
|
-
, proto = Number.prototype;
|
1644
|
+
, $Number = $.g[NUMBER]
|
1645
|
+
, Base = $Number
|
1646
|
+
, proto = $Number.prototype;
|
1601
1647
|
function toPrimitive(it){
|
1602
1648
|
var fn, val;
|
1603
1649
|
if(isFunction(fn = it.valueOf) && !isObject(val = fn.call(it)))return val;
|
@@ -1614,9 +1660,9 @@ function toNumber(it){
|
|
1614
1660
|
}
|
1615
1661
|
} return +it;
|
1616
1662
|
}
|
1617
|
-
if($.FW && !(Number('0o1') && Number('0b1'))){
|
1618
|
-
Number = function Number(it){
|
1619
|
-
return this instanceof Number ? new Base(toNumber(it)) : toNumber(it);
|
1663
|
+
if($.FW && !($Number('0o1') && $Number('0b1'))){
|
1664
|
+
$Number = function Number(it){
|
1665
|
+
return this instanceof $Number ? new Base(toNumber(it)) : toNumber(it);
|
1620
1666
|
};
|
1621
1667
|
$.each.call($.DESC ? $.getNames(Base) : (
|
1622
1668
|
// ES3:
|
@@ -1625,16 +1671,16 @@ if($.FW && !(Number('0o1') && Number('0b1'))){
|
|
1625
1671
|
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
1626
1672
|
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
1627
1673
|
).split(','), function(key){
|
1628
|
-
if($.has(Base, key) && !$.has(Number, key)){
|
1629
|
-
$.setDesc(Number, key, $.getDesc(Base, key));
|
1674
|
+
if($.has(Base, key) && !$.has($Number, key)){
|
1675
|
+
$.setDesc($Number, key, $.getDesc(Base, key));
|
1630
1676
|
}
|
1631
1677
|
}
|
1632
1678
|
);
|
1633
|
-
Number.prototype = proto;
|
1634
|
-
proto.constructor = Number;
|
1635
|
-
$.hide($.g, NUMBER, Number);
|
1679
|
+
$Number.prototype = proto;
|
1680
|
+
proto.constructor = $Number;
|
1681
|
+
$.hide($.g, NUMBER, $Number);
|
1636
1682
|
}
|
1637
|
-
},{"./$":
|
1683
|
+
},{"./$":22}],49:[function(require,module,exports){
|
1638
1684
|
var $ = require('./$')
|
1639
1685
|
, $def = require('./$.def')
|
1640
1686
|
, abs = Math.abs
|
@@ -1670,11 +1716,11 @@ $def($def.S, 'Number', {
|
|
1670
1716
|
// 20.1.2.13 Number.parseInt(string, radix)
|
1671
1717
|
parseInt: parseInt
|
1672
1718
|
});
|
1673
|
-
},{"./$":
|
1719
|
+
},{"./$":22,"./$.def":12}],50:[function(require,module,exports){
|
1674
1720
|
// 19.1.3.1 Object.assign(target, source)
|
1675
1721
|
var $def = require('./$.def');
|
1676
1722
|
$def($def.S, 'Object', {assign: require('./$.assign')});
|
1677
|
-
},{"./$.assign":
|
1723
|
+
},{"./$.assign":5,"./$.def":12}],51:[function(require,module,exports){
|
1678
1724
|
// 19.1.3.10 Object.is(value1, value2)
|
1679
1725
|
var $def = require('./$.def');
|
1680
1726
|
$def($def.S, 'Object', {
|
@@ -1682,11 +1728,11 @@ $def($def.S, 'Object', {
|
|
1682
1728
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
1683
1729
|
}
|
1684
1730
|
});
|
1685
|
-
},{"./$.def":
|
1731
|
+
},{"./$.def":12}],52:[function(require,module,exports){
|
1686
1732
|
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
1687
1733
|
var $def = require('./$.def');
|
1688
1734
|
$def($def.S, 'Object', {setPrototypeOf: require('./$.set-proto').set});
|
1689
|
-
},{"./$.def":
|
1735
|
+
},{"./$.def":12,"./$.set-proto":27}],53:[function(require,module,exports){
|
1690
1736
|
var $ = require('./$')
|
1691
1737
|
, $def = require('./$.def')
|
1692
1738
|
, isObject = $.isObject
|
@@ -1725,7 +1771,7 @@ wrapObjectMethod('getOwnPropertyDescriptor', 4);
|
|
1725
1771
|
wrapObjectMethod('getPrototypeOf', 5);
|
1726
1772
|
wrapObjectMethod('keys');
|
1727
1773
|
wrapObjectMethod('getOwnPropertyNames');
|
1728
|
-
},{"./$":
|
1774
|
+
},{"./$":22,"./$.def":12}],54:[function(require,module,exports){
|
1729
1775
|
'use strict';
|
1730
1776
|
// 19.1.3.6 Object.prototype.toString()
|
1731
1777
|
var $ = require('./$')
|
@@ -1735,7 +1781,7 @@ tmp[require('./$.wks')('toStringTag')] = 'z';
|
|
1735
1781
|
if($.FW && cof(tmp) != 'z')$.hide(Object.prototype, 'toString', function toString(){
|
1736
1782
|
return '[object ' + cof.classof(this) + ']';
|
1737
1783
|
});
|
1738
|
-
},{"./$":
|
1784
|
+
},{"./$":22,"./$.cof":6,"./$.wks":34}],55:[function(require,module,exports){
|
1739
1785
|
'use strict';
|
1740
1786
|
var $ = require('./$')
|
1741
1787
|
, ctx = require('./$.ctx')
|
@@ -1965,7 +2011,7 @@ $def($def.S + $def.F * !(useNative && require('./$.iter-detect')(function(iter){
|
|
1965
2011
|
});
|
1966
2012
|
}
|
1967
2013
|
});
|
1968
|
-
},{"./$":
|
2014
|
+
},{"./$":22,"./$.assert":4,"./$.cof":6,"./$.ctx":11,"./$.def":12,"./$.for-of":15,"./$.iter-detect":20,"./$.set-proto":27,"./$.species":28,"./$.task":30,"./$.uid":32,"./$.wks":34}],56:[function(require,module,exports){
|
1969
2015
|
var $ = require('./$')
|
1970
2016
|
, $def = require('./$.def')
|
1971
2017
|
, setProto = require('./$.set-proto')
|
@@ -1974,12 +2020,12 @@ var $ = require('./$')
|
|
1974
2020
|
, step = $iter.step
|
1975
2021
|
, assert = require('./$.assert')
|
1976
2022
|
, isObject = $.isObject
|
1977
|
-
, getDesc = $.getDesc
|
1978
|
-
, setDesc = $.setDesc
|
1979
2023
|
, getProto = $.getProto
|
1980
|
-
,
|
1981
|
-
, assertObject
|
1982
|
-
, _isExtensible = Object.isExtensible || $.
|
2024
|
+
, _apply = Function.apply
|
2025
|
+
, assertObject = assert.obj
|
2026
|
+
, _isExtensible = Object.isExtensible || $.isObject
|
2027
|
+
, _preventExtensions = Object.preventExtensions || $.it;
|
2028
|
+
|
1983
2029
|
function Enumerate(iterated){
|
1984
2030
|
$.set(this, ITER, {o: iterated, k: undefined, i: 0});
|
1985
2031
|
}
|
@@ -1997,65 +2043,31 @@ $iter.create(Enumerate, 'Object', function(){
|
|
1997
2043
|
return step(0, key);
|
1998
2044
|
});
|
1999
2045
|
|
2000
|
-
function wrap(fn){
|
2001
|
-
return function(it){
|
2002
|
-
assertObject(it);
|
2003
|
-
try {
|
2004
|
-
fn.apply(undefined, arguments);
|
2005
|
-
return true;
|
2006
|
-
} catch(e){
|
2007
|
-
return false;
|
2008
|
-
}
|
2009
|
-
};
|
2010
|
-
}
|
2011
|
-
|
2012
|
-
function get(target, propertyKey/*, receiver*/){
|
2013
|
-
var receiver = arguments.length < 3 ? target : arguments[2]
|
2014
|
-
, desc = getDesc(assertObject(target), propertyKey), proto;
|
2015
|
-
if(desc)return $.has(desc, 'value')
|
2016
|
-
? desc.value
|
2017
|
-
: desc.get === undefined
|
2018
|
-
? undefined
|
2019
|
-
: desc.get.call(receiver);
|
2020
|
-
return isObject(proto = getProto(target))
|
2021
|
-
? get(proto, propertyKey, receiver)
|
2022
|
-
: undefined;
|
2023
|
-
}
|
2024
|
-
function set(target, propertyKey, V/*, receiver*/){
|
2025
|
-
var receiver = arguments.length < 4 ? target : arguments[3]
|
2026
|
-
, ownDesc = getDesc(assertObject(target), propertyKey)
|
2027
|
-
, existingDescriptor, proto;
|
2028
|
-
if(!ownDesc){
|
2029
|
-
if(isObject(proto = getProto(target))){
|
2030
|
-
return set(proto, propertyKey, V, receiver);
|
2031
|
-
}
|
2032
|
-
ownDesc = $.desc(0);
|
2033
|
-
}
|
2034
|
-
if($.has(ownDesc, 'value')){
|
2035
|
-
if(ownDesc.writable === false || !isObject(receiver))return false;
|
2036
|
-
existingDescriptor = getDesc(receiver, propertyKey) || $.desc(0);
|
2037
|
-
existingDescriptor.value = V;
|
2038
|
-
setDesc(receiver, propertyKey, existingDescriptor);
|
2039
|
-
return true;
|
2040
|
-
}
|
2041
|
-
return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
|
2042
|
-
}
|
2043
|
-
|
2044
2046
|
var reflect = {
|
2045
2047
|
// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
|
2046
|
-
apply:
|
2048
|
+
apply: function apply(target, thisArgument, argumentsList){
|
2049
|
+
return _apply.call(target, thisArgument, argumentsList);
|
2050
|
+
},
|
2047
2051
|
// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
|
2048
2052
|
construct: function construct(target, argumentsList /*, newTarget*/){
|
2049
2053
|
var proto = assert.fn(arguments.length < 3 ? target : arguments[2]).prototype
|
2050
2054
|
, instance = $.create(isObject(proto) ? proto : Object.prototype)
|
2051
|
-
, result =
|
2055
|
+
, result = _apply.call(target, instance, argumentsList);
|
2052
2056
|
return isObject(result) ? result : instance;
|
2053
2057
|
},
|
2054
2058
|
// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
|
2055
|
-
defineProperty:
|
2059
|
+
defineProperty: function defineProperty(target, propertyKey, attributes){
|
2060
|
+
assertObject(target);
|
2061
|
+
try {
|
2062
|
+
$.setDesc(target, propertyKey, attributes);
|
2063
|
+
return true;
|
2064
|
+
} catch(e){
|
2065
|
+
return false;
|
2066
|
+
}
|
2067
|
+
},
|
2056
2068
|
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
|
2057
2069
|
deleteProperty: function deleteProperty(target, propertyKey){
|
2058
|
-
var desc = getDesc(assertObject(target), propertyKey);
|
2070
|
+
var desc = $.getDesc(assertObject(target), propertyKey);
|
2059
2071
|
return desc && !desc.configurable ? false : delete target[propertyKey];
|
2060
2072
|
},
|
2061
2073
|
// 26.1.5 Reflect.enumerate(target)
|
@@ -2063,10 +2075,21 @@ var reflect = {
|
|
2063
2075
|
return new Enumerate(assertObject(target));
|
2064
2076
|
},
|
2065
2077
|
// 26.1.6 Reflect.get(target, propertyKey [, receiver])
|
2066
|
-
get: get,
|
2078
|
+
get: function get(target, propertyKey/*, receiver*/){
|
2079
|
+
var receiver = arguments.length < 3 ? target : arguments[2]
|
2080
|
+
, desc = $.getDesc(assertObject(target), propertyKey), proto;
|
2081
|
+
if(desc)return $.has(desc, 'value')
|
2082
|
+
? desc.value
|
2083
|
+
: desc.get === undefined
|
2084
|
+
? undefined
|
2085
|
+
: desc.get.call(receiver);
|
2086
|
+
return isObject(proto = getProto(target))
|
2087
|
+
? get(proto, propertyKey, receiver)
|
2088
|
+
: undefined;
|
2089
|
+
},
|
2067
2090
|
// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
|
2068
2091
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
|
2069
|
-
return getDesc(assertObject(target), propertyKey);
|
2092
|
+
return $.getDesc(assertObject(target), propertyKey);
|
2070
2093
|
},
|
2071
2094
|
// 26.1.8 Reflect.getPrototypeOf(target)
|
2072
2095
|
getPrototypeOf: function getPrototypeOf(target){
|
@@ -2078,14 +2101,40 @@ var reflect = {
|
|
2078
2101
|
},
|
2079
2102
|
// 26.1.10 Reflect.isExtensible(target)
|
2080
2103
|
isExtensible: function isExtensible(target){
|
2081
|
-
return
|
2104
|
+
return _isExtensible(assertObject(target));
|
2082
2105
|
},
|
2083
2106
|
// 26.1.11 Reflect.ownKeys(target)
|
2084
2107
|
ownKeys: require('./$.own-keys'),
|
2085
2108
|
// 26.1.12 Reflect.preventExtensions(target)
|
2086
|
-
preventExtensions:
|
2109
|
+
preventExtensions: function preventExtensions(target){
|
2110
|
+
assertObject(target);
|
2111
|
+
try {
|
2112
|
+
_preventExtensions(target);
|
2113
|
+
return true;
|
2114
|
+
} catch(e){
|
2115
|
+
return false;
|
2116
|
+
}
|
2117
|
+
},
|
2087
2118
|
// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
|
2088
|
-
set: set
|
2119
|
+
set: function set(target, propertyKey, V/*, receiver*/){
|
2120
|
+
var receiver = arguments.length < 4 ? target : arguments[3]
|
2121
|
+
, ownDesc = $.getDesc(assertObject(target), propertyKey)
|
2122
|
+
, existingDescriptor, proto;
|
2123
|
+
if(!ownDesc){
|
2124
|
+
if(isObject(proto = getProto(target))){
|
2125
|
+
return set(proto, propertyKey, V, receiver);
|
2126
|
+
}
|
2127
|
+
ownDesc = $.desc(0);
|
2128
|
+
}
|
2129
|
+
if($.has(ownDesc, 'value')){
|
2130
|
+
if(ownDesc.writable === false || !isObject(receiver))return false;
|
2131
|
+
existingDescriptor = $.getDesc(receiver, propertyKey) || $.desc(0);
|
2132
|
+
existingDescriptor.value = V;
|
2133
|
+
$.setDesc(receiver, propertyKey, existingDescriptor);
|
2134
|
+
return true;
|
2135
|
+
}
|
2136
|
+
return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
|
2137
|
+
}
|
2089
2138
|
};
|
2090
2139
|
// 26.1.14 Reflect.setPrototypeOf(target, proto)
|
2091
2140
|
if(setProto)reflect.setPrototypeOf = function setPrototypeOf(target, proto){
|
@@ -2100,39 +2149,42 @@ if(setProto)reflect.setPrototypeOf = function setPrototypeOf(target, proto){
|
|
2100
2149
|
|
2101
2150
|
$def($def.G, {Reflect: {}});
|
2102
2151
|
$def($def.S, 'Reflect', reflect);
|
2103
|
-
},{"./$":
|
2104
|
-
var $
|
2105
|
-
, cof
|
2106
|
-
, RegExp = $.g.RegExp
|
2107
|
-
, Base
|
2108
|
-
, proto
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
}
|
2119
|
-
}
|
2152
|
+
},{"./$":22,"./$.assert":4,"./$.def":12,"./$.iter":21,"./$.own-keys":24,"./$.set-proto":27,"./$.uid":32}],57:[function(require,module,exports){
|
2153
|
+
var $ = require('./$')
|
2154
|
+
, cof = require('./$.cof')
|
2155
|
+
, $RegExp = $.g.RegExp
|
2156
|
+
, Base = $RegExp
|
2157
|
+
, proto = $RegExp.prototype
|
2158
|
+
, re = /a/g
|
2159
|
+
// "new" creates a new object
|
2160
|
+
, CORRECT_NEW = new $RegExp(re) !== re
|
2161
|
+
// RegExp allows a regex with flags as the pattern
|
2162
|
+
, ALLOWS_RE_WITH_FLAGS = function(){
|
2163
|
+
try {
|
2164
|
+
return $RegExp(re, 'i') == '/a/i';
|
2165
|
+
} catch(e){ /* empty */ }
|
2166
|
+
}();
|
2120
2167
|
if($.FW && $.DESC){
|
2121
|
-
if(
|
2122
|
-
RegExp = function RegExp(pattern, flags){
|
2123
|
-
|
2124
|
-
|
2168
|
+
if(!CORRECT_NEW || !ALLOWS_RE_WITH_FLAGS){
|
2169
|
+
$RegExp = function RegExp(pattern, flags){
|
2170
|
+
var patternIsRegExp = cof(pattern) == 'RegExp'
|
2171
|
+
, flagsIsUndefined = flags === undefined;
|
2172
|
+
if(!(this instanceof $RegExp) && patternIsRegExp && flagsIsUndefined)return pattern;
|
2173
|
+
return CORRECT_NEW
|
2174
|
+
? new Base(patternIsRegExp && !flagsIsUndefined ? pattern.source : pattern, flags)
|
2175
|
+
: new Base(patternIsRegExp ? pattern.source : pattern
|
2176
|
+
, patternIsRegExp && flagsIsUndefined ? pattern.flags : flags);
|
2125
2177
|
};
|
2126
2178
|
$.each.call($.getNames(Base), function(key){
|
2127
|
-
key in RegExp || $.setDesc(RegExp, key, {
|
2179
|
+
key in $RegExp || $.setDesc($RegExp, key, {
|
2128
2180
|
configurable: true,
|
2129
2181
|
get: function(){ return Base[key]; },
|
2130
2182
|
set: function(it){ Base[key] = it; }
|
2131
2183
|
});
|
2132
2184
|
});
|
2133
|
-
proto.constructor = RegExp;
|
2134
|
-
RegExp.prototype = proto;
|
2135
|
-
$.hide($.g, 'RegExp', RegExp);
|
2185
|
+
proto.constructor = $RegExp;
|
2186
|
+
$RegExp.prototype = proto;
|
2187
|
+
$.hide($.g, 'RegExp', $RegExp);
|
2136
2188
|
}
|
2137
2189
|
// 21.2.5.3 get RegExp.prototype.flags()
|
2138
2190
|
if(/./g.flags != 'g')$.setDesc(proto, 'flags', {
|
@@ -2140,8 +2192,8 @@ if($.FW && $.DESC){
|
|
2140
2192
|
get: require('./$.replacer')(/^.*\/(\w*)$/, '$1')
|
2141
2193
|
});
|
2142
2194
|
}
|
2143
|
-
require('./$.species')(RegExp);
|
2144
|
-
},{"./$":
|
2195
|
+
require('./$.species')($RegExp);
|
2196
|
+
},{"./$":22,"./$.cof":6,"./$.replacer":26,"./$.species":28}],58:[function(require,module,exports){
|
2145
2197
|
'use strict';
|
2146
2198
|
var strong = require('./$.collection-strong');
|
2147
2199
|
|
@@ -2152,13 +2204,17 @@ require('./$.collection')('Set', {
|
|
2152
2204
|
return strong.def(this, value = value === 0 ? 0 : value, value);
|
2153
2205
|
}
|
2154
2206
|
}, strong);
|
2155
|
-
},{"./$.collection":
|
2156
|
-
|
2207
|
+
},{"./$.collection":10,"./$.collection-strong":7}],59:[function(require,module,exports){
|
2208
|
+
'use strict';
|
2209
|
+
var $def = require('./$.def')
|
2210
|
+
, $at = require('./$.string-at')(false);
|
2157
2211
|
$def($def.P, 'String', {
|
2158
2212
|
// 21.1.3.3 String.prototype.codePointAt(pos)
|
2159
|
-
codePointAt:
|
2213
|
+
codePointAt: function codePointAt(pos){
|
2214
|
+
return $at(this, pos);
|
2215
|
+
}
|
2160
2216
|
});
|
2161
|
-
},{"./$.def":
|
2217
|
+
},{"./$.def":12,"./$.string-at":29}],60:[function(require,module,exports){
|
2162
2218
|
'use strict';
|
2163
2219
|
var $ = require('./$')
|
2164
2220
|
, cof = require('./$.cof')
|
@@ -2178,7 +2234,7 @@ $def($def.P + $def.F * !require('./$.throws')(function(){ 'q'.endsWith(/./); }),
|
|
2178
2234
|
return that.slice(end - searchString.length, end) === searchString;
|
2179
2235
|
}
|
2180
2236
|
});
|
2181
|
-
},{"./$":
|
2237
|
+
},{"./$":22,"./$.cof":6,"./$.def":12,"./$.throws":31}],61:[function(require,module,exports){
|
2182
2238
|
var $def = require('./$.def')
|
2183
2239
|
, toIndex = require('./$').toIndex
|
2184
2240
|
, fromCharCode = String.fromCharCode;
|
@@ -2200,7 +2256,7 @@ $def($def.S, 'String', {
|
|
2200
2256
|
} return res.join('');
|
2201
2257
|
}
|
2202
2258
|
});
|
2203
|
-
},{"./$":
|
2259
|
+
},{"./$":22,"./$.def":12}],62:[function(require,module,exports){
|
2204
2260
|
'use strict';
|
2205
2261
|
var $ = require('./$')
|
2206
2262
|
, cof = require('./$.cof')
|
@@ -2213,9 +2269,9 @@ $def($def.P, 'String', {
|
|
2213
2269
|
return !!~String($.assertDefined(this)).indexOf(searchString, arguments[1]);
|
2214
2270
|
}
|
2215
2271
|
});
|
2216
|
-
},{"./$":
|
2272
|
+
},{"./$":22,"./$.cof":6,"./$.def":12}],63:[function(require,module,exports){
|
2217
2273
|
var set = require('./$').set
|
2218
|
-
, at
|
2274
|
+
, $at = require('./$.string-at')(true)
|
2219
2275
|
, ITER = require('./$.uid').safe('iter')
|
2220
2276
|
, $iter = require('./$.iter')
|
2221
2277
|
, step = $iter.step;
|
@@ -2230,11 +2286,11 @@ require('./$.iter-define')(String, 'String', function(iterated){
|
|
2230
2286
|
, index = iter.i
|
2231
2287
|
, point;
|
2232
2288
|
if(index >= O.length)return step(1);
|
2233
|
-
point = at
|
2289
|
+
point = $at(O, index);
|
2234
2290
|
iter.i += point.length;
|
2235
2291
|
return step(0, point);
|
2236
2292
|
});
|
2237
|
-
},{"./$":
|
2293
|
+
},{"./$":22,"./$.iter":21,"./$.iter-define":19,"./$.string-at":29,"./$.uid":32}],64:[function(require,module,exports){
|
2238
2294
|
var $ = require('./$')
|
2239
2295
|
, $def = require('./$.def');
|
2240
2296
|
|
@@ -2252,7 +2308,7 @@ $def($def.S, 'String', {
|
|
2252
2308
|
} return res.join('');
|
2253
2309
|
}
|
2254
2310
|
});
|
2255
|
-
},{"./$":
|
2311
|
+
},{"./$":22,"./$.def":12}],65:[function(require,module,exports){
|
2256
2312
|
'use strict';
|
2257
2313
|
var $ = require('./$')
|
2258
2314
|
, $def = require('./$.def');
|
@@ -2268,7 +2324,7 @@ $def($def.P, 'String', {
|
|
2268
2324
|
return res;
|
2269
2325
|
}
|
2270
2326
|
});
|
2271
|
-
},{"./$":
|
2327
|
+
},{"./$":22,"./$.def":12}],66:[function(require,module,exports){
|
2272
2328
|
'use strict';
|
2273
2329
|
var $ = require('./$')
|
2274
2330
|
, cof = require('./$.cof')
|
@@ -2285,7 +2341,7 @@ $def($def.P + $def.F * !require('./$.throws')(function(){ 'q'.startsWith(/./); }
|
|
2285
2341
|
return that.slice(index, index + searchString.length) === searchString;
|
2286
2342
|
}
|
2287
2343
|
});
|
2288
|
-
},{"./$":
|
2344
|
+
},{"./$":22,"./$.cof":6,"./$.def":12,"./$.throws":31}],67:[function(require,module,exports){
|
2289
2345
|
'use strict';
|
2290
2346
|
// ECMAScript 6 symbols shim
|
2291
2347
|
var $ = require('./$')
|
@@ -2302,16 +2358,16 @@ var $ = require('./$')
|
|
2302
2358
|
, desc = $.desc
|
2303
2359
|
, getNames = $.getNames
|
2304
2360
|
, toObject = $.toObject
|
2305
|
-
, Symbol
|
2361
|
+
, $Symbol = $.g.Symbol
|
2306
2362
|
, setter = false
|
2307
2363
|
, TAG = uid('tag')
|
2308
2364
|
, HIDDEN = uid('hidden')
|
2309
2365
|
, SymbolRegistry = {}
|
2310
2366
|
, AllSymbols = {}
|
2311
|
-
, useNative = $.isFunction(Symbol);
|
2367
|
+
, useNative = $.isFunction($Symbol);
|
2312
2368
|
|
2313
2369
|
function wrap(tag){
|
2314
|
-
var sym = AllSymbols[tag] = $.set($create(Symbol.prototype), TAG, tag);
|
2370
|
+
var sym = AllSymbols[tag] = $.set($create($Symbol.prototype), TAG, tag);
|
2315
2371
|
$.DESC && setter && setDesc(Object.prototype, tag, {
|
2316
2372
|
configurable: true,
|
2317
2373
|
set: function(value){
|
@@ -2369,11 +2425,11 @@ function getOwnPropertySymbols(it){
|
|
2369
2425
|
|
2370
2426
|
// 19.4.1.1 Symbol([description])
|
2371
2427
|
if(!useNative){
|
2372
|
-
Symbol = function Symbol(description){
|
2373
|
-
if(this instanceof Symbol)throw TypeError('Symbol is not a constructor');
|
2428
|
+
$Symbol = function Symbol(description){
|
2429
|
+
if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor');
|
2374
2430
|
return wrap(uid(description));
|
2375
2431
|
};
|
2376
|
-
$.hide(Symbol.prototype, 'toString', function(){
|
2432
|
+
$.hide($Symbol.prototype, 'toString', function(){
|
2377
2433
|
return this[TAG];
|
2378
2434
|
});
|
2379
2435
|
|
@@ -2390,7 +2446,7 @@ var symbolStatics = {
|
|
2390
2446
|
'for': function(key){
|
2391
2447
|
return has(SymbolRegistry, key += '')
|
2392
2448
|
? SymbolRegistry[key]
|
2393
|
-
: SymbolRegistry[key] = Symbol(key);
|
2449
|
+
: SymbolRegistry[key] = $Symbol(key);
|
2394
2450
|
},
|
2395
2451
|
// 19.4.2.5 Symbol.keyFor(sym)
|
2396
2452
|
keyFor: function keyFor(key){
|
@@ -2421,7 +2477,7 @@ $.each.call((
|
|
2421
2477
|
|
2422
2478
|
setter = true;
|
2423
2479
|
|
2424
|
-
$def($def.G + $def.W, {Symbol: Symbol});
|
2480
|
+
$def($def.G + $def.W, {Symbol: $Symbol});
|
2425
2481
|
|
2426
2482
|
$def($def.S, 'Symbol', symbolStatics);
|
2427
2483
|
|
@@ -2441,12 +2497,12 @@ $def($def.S + $def.F * !useNative, 'Object', {
|
|
2441
2497
|
});
|
2442
2498
|
|
2443
2499
|
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
2444
|
-
setTag(Symbol, 'Symbol');
|
2500
|
+
setTag($Symbol, 'Symbol');
|
2445
2501
|
// 20.2.1.9 Math[@@toStringTag]
|
2446
2502
|
setTag(Math, 'Math', true);
|
2447
2503
|
// 24.3.3 JSON[@@toStringTag]
|
2448
2504
|
setTag($.g.JSON, 'JSON', true);
|
2449
|
-
},{"./$":
|
2505
|
+
},{"./$":22,"./$.assert":4,"./$.cof":6,"./$.def":12,"./$.enum-keys":14,"./$.keyof":23,"./$.uid":32,"./$.wks":34}],68:[function(require,module,exports){
|
2450
2506
|
'use strict';
|
2451
2507
|
var $ = require('./$')
|
2452
2508
|
, weak = require('./$.collection-weak')
|
@@ -2487,7 +2543,7 @@ if($.FW && new WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
|
|
2487
2543
|
};
|
2488
2544
|
});
|
2489
2545
|
}
|
2490
|
-
},{"./$":
|
2546
|
+
},{"./$":22,"./$.collection":10,"./$.collection-weak":9}],69:[function(require,module,exports){
|
2491
2547
|
'use strict';
|
2492
2548
|
var weak = require('./$.collection-weak');
|
2493
2549
|
|
@@ -2498,17 +2554,20 @@ require('./$.collection')('WeakSet', {
|
|
2498
2554
|
return weak.def(this, value, true);
|
2499
2555
|
}
|
2500
2556
|
}, weak, false, true);
|
2501
|
-
},{"./$.collection":
|
2557
|
+
},{"./$.collection":10,"./$.collection-weak":9}],70:[function(require,module,exports){
|
2502
2558
|
// https://github.com/domenic/Array.prototype.includes
|
2503
|
-
var $def
|
2559
|
+
var $def = require('./$.def')
|
2560
|
+
, $includes = require('./$.array-includes')(true);
|
2504
2561
|
$def($def.P, 'Array', {
|
2505
|
-
includes:
|
2562
|
+
includes: function includes(el /*, fromIndex = 0 */){
|
2563
|
+
return $includes(this, el, arguments[1]);
|
2564
|
+
}
|
2506
2565
|
});
|
2507
2566
|
require('./$.unscope')('includes');
|
2508
|
-
},{"./$.array-includes":
|
2567
|
+
},{"./$.array-includes":2,"./$.def":12,"./$.unscope":33}],71:[function(require,module,exports){
|
2509
2568
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
2510
2569
|
require('./$.collection-to-json')('Map');
|
2511
|
-
},{"./$.collection-to-json":
|
2570
|
+
},{"./$.collection-to-json":8}],72:[function(require,module,exports){
|
2512
2571
|
// https://gist.github.com/WebReflection/9353781
|
2513
2572
|
var $ = require('./$')
|
2514
2573
|
, $def = require('./$.def')
|
@@ -2524,7 +2583,7 @@ $def($def.S, 'Object', {
|
|
2524
2583
|
return result;
|
2525
2584
|
}
|
2526
2585
|
});
|
2527
|
-
},{"./$":
|
2586
|
+
},{"./$":22,"./$.def":12,"./$.own-keys":24}],73:[function(require,module,exports){
|
2528
2587
|
// http://goo.gl/XkBrjD
|
2529
2588
|
var $ = require('./$')
|
2530
2589
|
, $def = require('./$.def');
|
@@ -2545,22 +2604,26 @@ $def($def.S, 'Object', {
|
|
2545
2604
|
values: createObjectToArray(false),
|
2546
2605
|
entries: createObjectToArray(true)
|
2547
2606
|
});
|
2548
|
-
},{"./$":
|
2607
|
+
},{"./$":22,"./$.def":12}],74:[function(require,module,exports){
|
2549
2608
|
// https://gist.github.com/kangax/9698100
|
2550
2609
|
var $def = require('./$.def');
|
2551
2610
|
$def($def.S, 'RegExp', {
|
2552
2611
|
escape: require('./$.replacer')(/([\\\-[\]{}()*+?.,^$|])/g, '\\$1', true)
|
2553
2612
|
});
|
2554
|
-
},{"./$.def":
|
2613
|
+
},{"./$.def":12,"./$.replacer":26}],75:[function(require,module,exports){
|
2555
2614
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
2556
2615
|
require('./$.collection-to-json')('Set');
|
2557
|
-
},{"./$.collection-to-json":
|
2616
|
+
},{"./$.collection-to-json":8}],76:[function(require,module,exports){
|
2558
2617
|
// https://github.com/mathiasbynens/String.prototype.at
|
2559
|
-
|
2618
|
+
'use strict';
|
2619
|
+
var $def = require('./$.def')
|
2620
|
+
, $at = require('./$.string-at')(true);
|
2560
2621
|
$def($def.P, 'String', {
|
2561
|
-
at:
|
2622
|
+
at: function at(pos){
|
2623
|
+
return $at(this, pos);
|
2624
|
+
}
|
2562
2625
|
});
|
2563
|
-
},{"./$.def":
|
2626
|
+
},{"./$.def":12,"./$.string-at":29}],77:[function(require,module,exports){
|
2564
2627
|
// JavaScript 1.6 / Strawman array statics shim
|
2565
2628
|
var $ = require('./$')
|
2566
2629
|
, $def = require('./$.def')
|
@@ -2577,7 +2640,7 @@ setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
|
|
2577
2640
|
setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
|
2578
2641
|
'reduce,reduceRight,copyWithin,fill,turn');
|
2579
2642
|
$def($def.S, 'Array', statics);
|
2580
|
-
},{"./$":
|
2643
|
+
},{"./$":22,"./$.ctx":11,"./$.def":12}],78:[function(require,module,exports){
|
2581
2644
|
require('./es6.array.iterator');
|
2582
2645
|
var $ = require('./$')
|
2583
2646
|
, Iterators = require('./$.iter').Iterators
|
@@ -2588,14 +2651,14 @@ if($.FW && NodeList && !(ITERATOR in NodeList.prototype)){
|
|
2588
2651
|
$.hide(NodeList.prototype, ITERATOR, ArrayValues);
|
2589
2652
|
}
|
2590
2653
|
Iterators.NodeList = ArrayValues;
|
2591
|
-
},{"./$":
|
2654
|
+
},{"./$":22,"./$.iter":21,"./$.wks":34,"./es6.array.iterator":41}],79:[function(require,module,exports){
|
2592
2655
|
var $def = require('./$.def')
|
2593
2656
|
, $task = require('./$.task');
|
2594
2657
|
$def($def.G + $def.B, {
|
2595
2658
|
setImmediate: $task.set,
|
2596
2659
|
clearImmediate: $task.clear
|
2597
2660
|
});
|
2598
|
-
},{"./$.def":
|
2661
|
+
},{"./$.def":12,"./$.task":30}],80:[function(require,module,exports){
|
2599
2662
|
// ie9- setTimeout & setInterval additional parameters fix
|
2600
2663
|
var $ = require('./$')
|
2601
2664
|
, $def = require('./$.def')
|
@@ -2616,7 +2679,7 @@ $def($def.G + $def.B + $def.F * MSIE, {
|
|
2616
2679
|
setTimeout: wrap($.g.setTimeout),
|
2617
2680
|
setInterval: wrap($.g.setInterval)
|
2618
2681
|
});
|
2619
|
-
},{"./$":
|
2682
|
+
},{"./$":22,"./$.def":12,"./$.invoke":17,"./$.partial":25}],81:[function(require,module,exports){
|
2620
2683
|
require('./modules/es5');
|
2621
2684
|
require('./modules/es6.symbol');
|
2622
2685
|
require('./modules/es6.object.assign');
|
@@ -2625,6 +2688,7 @@ require('./modules/es6.object.set-prototype-of');
|
|
2625
2688
|
require('./modules/es6.object.to-string');
|
2626
2689
|
require('./modules/es6.object.statics-accept-primitives');
|
2627
2690
|
require('./modules/es6.function.name');
|
2691
|
+
require('./modules/es6.function.has-instance');
|
2628
2692
|
require('./modules/es6.number.constructor');
|
2629
2693
|
require('./modules/es6.number.statics');
|
2630
2694
|
require('./modules/es6.math');
|
@@ -2663,7 +2727,7 @@ require('./modules/web.timers');
|
|
2663
2727
|
require('./modules/web.immediate');
|
2664
2728
|
require('./modules/web.dom.iterable');
|
2665
2729
|
module.exports = require('./modules/$').core;
|
2666
|
-
},{"./modules/$":
|
2730
|
+
},{"./modules/$":22,"./modules/es5":35,"./modules/es6.array.copy-within":36,"./modules/es6.array.fill":37,"./modules/es6.array.find":39,"./modules/es6.array.find-index":38,"./modules/es6.array.from":40,"./modules/es6.array.iterator":41,"./modules/es6.array.of":42,"./modules/es6.array.species":43,"./modules/es6.function.has-instance":44,"./modules/es6.function.name":45,"./modules/es6.map":46,"./modules/es6.math":47,"./modules/es6.number.constructor":48,"./modules/es6.number.statics":49,"./modules/es6.object.assign":50,"./modules/es6.object.is":51,"./modules/es6.object.set-prototype-of":52,"./modules/es6.object.statics-accept-primitives":53,"./modules/es6.object.to-string":54,"./modules/es6.promise":55,"./modules/es6.reflect":56,"./modules/es6.regexp":57,"./modules/es6.set":58,"./modules/es6.string.code-point-at":59,"./modules/es6.string.ends-with":60,"./modules/es6.string.from-code-point":61,"./modules/es6.string.includes":62,"./modules/es6.string.iterator":63,"./modules/es6.string.raw":64,"./modules/es6.string.repeat":65,"./modules/es6.string.starts-with":66,"./modules/es6.symbol":67,"./modules/es6.weak-map":68,"./modules/es6.weak-set":69,"./modules/es7.array.includes":70,"./modules/es7.map.to-json":71,"./modules/es7.object.get-own-property-descriptors":72,"./modules/es7.object.to-array":73,"./modules/es7.regexp.escape":74,"./modules/es7.set.to-json":75,"./modules/es7.string.at":76,"./modules/js.array.statics":77,"./modules/web.dom.iterable":78,"./modules/web.immediate":79,"./modules/web.timers":80}],82:[function(require,module,exports){
|
2667
2731
|
(function (global){
|
2668
2732
|
/**
|
2669
2733
|
* Copyright (c) 2014, Facebook, Inc.
|