babel-source 5.1.10 → 5.1.11
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 +977 -581
- data/lib/babel/polyfill.js +15 -13
- data/lib/babel/source.rb +2 -2
- metadata +2 -2
data/lib/babel/polyfill.js
CHANGED
@@ -2370,7 +2370,7 @@ var $ = require('./$')
|
|
2370
2370
|
function createObjectToArray(isEntries){
|
2371
2371
|
return function(object){
|
2372
2372
|
var O = $.toObject(object)
|
2373
|
-
, keys = $.getKeys(
|
2373
|
+
, keys = $.getKeys(O)
|
2374
2374
|
, length = keys.length
|
2375
2375
|
, i = 0
|
2376
2376
|
, result = Array(length)
|
@@ -2426,14 +2426,15 @@ setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
|
|
2426
2426
|
$def($def.S, 'Array', statics);
|
2427
2427
|
},{"./$":16,"./$.ctx":10,"./$.def":11}],69:[function(require,module,exports){
|
2428
2428
|
require('./es6.array.iterator');
|
2429
|
-
var $
|
2430
|
-
, Iterators
|
2431
|
-
, ITERATOR
|
2432
|
-
,
|
2429
|
+
var $ = require('./$')
|
2430
|
+
, Iterators = require('./$.iter').Iterators
|
2431
|
+
, ITERATOR = require('./$.wks')('iterator')
|
2432
|
+
, ArrayValues = Iterators.Array
|
2433
|
+
, NodeList = $.g.NodeList;
|
2433
2434
|
if($.FW && NodeList && !(ITERATOR in NodeList.prototype)){
|
2434
|
-
$.hide(NodeList.prototype, ITERATOR,
|
2435
|
+
$.hide(NodeList.prototype, ITERATOR, ArrayValues);
|
2435
2436
|
}
|
2436
|
-
Iterators.NodeList =
|
2437
|
+
Iterators.NodeList = ArrayValues;
|
2437
2438
|
},{"./$":16,"./$.iter":15,"./$.wks":27,"./es6.array.iterator":34}],70:[function(require,module,exports){
|
2438
2439
|
var $def = require('./$.def')
|
2439
2440
|
, $task = require('./$.task');
|
@@ -2443,11 +2444,12 @@ $def($def.G + $def.B, {
|
|
2443
2444
|
});
|
2444
2445
|
},{"./$.def":11,"./$.task":24}],71:[function(require,module,exports){
|
2445
2446
|
// ie9- setTimeout & setInterval additional parameters fix
|
2446
|
-
var $
|
2447
|
-
, $def
|
2448
|
-
, invoke
|
2449
|
-
, partial
|
2450
|
-
,
|
2447
|
+
var $ = require('./$')
|
2448
|
+
, $def = require('./$.def')
|
2449
|
+
, invoke = require('./$.invoke')
|
2450
|
+
, partial = require('./$.partial')
|
2451
|
+
, navigator = $.g.navigator
|
2452
|
+
, MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
|
2451
2453
|
function wrap(set){
|
2452
2454
|
return MSIE ? function(fn, time /*, ...args */){
|
2453
2455
|
return set(invoke(
|
@@ -2991,7 +2993,7 @@ module.exports = require('./modules/$').core;
|
|
2991
2993
|
(type === "break" ||
|
2992
2994
|
type === "continue") &&
|
2993
2995
|
finallyEntry.tryLoc <= arg &&
|
2994
|
-
arg
|
2996
|
+
arg <= finallyEntry.finallyLoc) {
|
2995
2997
|
// Ignore the finally entry if control is not jumping to a
|
2996
2998
|
// location outside the try/catch block.
|
2997
2999
|
finallyEntry = null;
|
data/lib/babel/source.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babel-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian McKenzie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: sebmck@gmail.com
|