Comparing version 0.8.0-alpha.1 to 0.8.0-alpha.2
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -1,7 +0,3 @@ | ||
'use strict'; | ||
var Promise = require('../Promise'); | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -8,0 +4,0 @@ * |
@@ -1,7 +0,3 @@ | ||
'use strict'; | ||
var Promise = require('../Promise'); | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -8,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -17,4 +19,2 @@ * | ||
*/ | ||
'use strict'; | ||
function shouldPolyfillES6Collection(collectionName) { | ||
@@ -21,0 +21,0 @@ var Collection = global[collectionName]; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var aStackPool = []; | ||
@@ -16,0 +16,0 @@ var bStackPool = []; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
"use strict"; | ||
var _hyphenPattern = /-(.)/g; | ||
@@ -16,0 +16,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -15,2 +15,3 @@ /** | ||
*/ | ||
function compactArray(array) { | ||
@@ -17,0 +18,0 @@ var result = []; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var push = Array.prototype.push; | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var isTextNode = require('./isTextNode'); | ||
@@ -26,28 +26,17 @@ | ||
*/ | ||
function containsNode(_x, _x2) { | ||
var _again = true; | ||
_function: while (_again) { | ||
var outerNode = _x, | ||
innerNode = _x2; | ||
_again = false; | ||
if (!outerNode || !innerNode) { | ||
return false; | ||
} else if (outerNode === innerNode) { | ||
return true; | ||
} else if (isTextNode(outerNode)) { | ||
return false; | ||
} else if (isTextNode(innerNode)) { | ||
_x = outerNode; | ||
_x2 = innerNode.parentNode; | ||
_again = true; | ||
continue _function; | ||
} else if (outerNode.contains) { | ||
return outerNode.contains(innerNode); | ||
} else if (outerNode.compareDocumentPosition) { | ||
return !!(outerNode.compareDocumentPosition(innerNode) & 16); | ||
} else { | ||
return false; | ||
} | ||
function containsNode(outerNode, innerNode) { | ||
if (!outerNode || !innerNode) { | ||
return false; | ||
} else if (outerNode === innerNode) { | ||
return true; | ||
} else if (isTextNode(outerNode)) { | ||
return false; | ||
} else if (isTextNode(innerNode)) { | ||
return containsNode(outerNode, innerNode.parentNode); | ||
} else if (outerNode.contains) { | ||
return outerNode.contains(innerNode); | ||
} else if (outerNode.compareDocumentPosition) { | ||
return !!(outerNode.compareDocumentPosition(innerNode) & 16); | ||
} else { | ||
return false; | ||
} | ||
@@ -54,0 +43,0 @@ } |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
"use strict"; | ||
function crc32(str) { | ||
@@ -16,0 +16,0 @@ /* jslint bitwise: true */ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var invariant = require('./invariant'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -14,4 +16,2 @@ * | ||
'use strict'; | ||
var ExecutionEnvironment = require('./ExecutionEnvironment'); | ||
@@ -18,0 +18,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var invariant = require('./invariant'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -26,4 +28,2 @@ * | ||
*/ | ||
'use strict'; | ||
function cx(classNames) { | ||
@@ -30,0 +30,0 @@ if (typeof classNames == 'object') { |
@@ -0,3 +1,7 @@ | ||
'use strict'; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,6 +16,2 @@ * | ||
'use strict'; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
var PhotosMimeType = require('./PhotosMimeType'); | ||
@@ -42,3 +42,3 @@ | ||
var DataTransfer = (function () { | ||
var DataTransfer = function () { | ||
/** | ||
@@ -63,2 +63,3 @@ * @param {object} data | ||
DataTransfer.prototype.isRichText = function isRichText() { | ||
@@ -89,2 +90,3 @@ // If HTML is available, treat this data as rich text. This way, we avoid | ||
DataTransfer.prototype.getText = function getText() { | ||
@@ -108,2 +110,3 @@ var text; | ||
DataTransfer.prototype.getHTML = function getHTML() { | ||
@@ -125,2 +128,3 @@ if (this.data.getData) { | ||
DataTransfer.prototype.isLink = function isLink() { | ||
@@ -138,2 +142,3 @@ return this.types.some(function (type) { | ||
DataTransfer.prototype.getLink = function getLink() { | ||
@@ -153,2 +158,3 @@ if (this.data.getData) { | ||
DataTransfer.prototype.isImage = function isImage() { | ||
@@ -168,3 +174,3 @@ var isImage = this.types.some(function (type) { | ||
var type = items[i].type; | ||
if (!PhotosMimeType(type).isImage()) { | ||
if (!PhotosMimeType.isImage(type)) { | ||
return false; | ||
@@ -194,2 +200,3 @@ } | ||
DataTransfer.prototype.getFiles = function getFiles() { | ||
@@ -212,2 +219,3 @@ if (this.data.items) { | ||
DataTransfer.prototype.hasFiles = function hasFiles() { | ||
@@ -218,4 +226,4 @@ return this.getFiles().length > 0; | ||
return DataTransfer; | ||
})(); | ||
}(); | ||
module.exports = DataTransfer; |
@@ -8,3 +8,3 @@ "use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -30,3 +30,3 @@ * | ||
var Deferred = (function () { | ||
var Deferred = function () { | ||
function Deferred() { | ||
@@ -71,4 +71,4 @@ var _this = this; | ||
return Deferred; | ||
})(); | ||
}(); | ||
module.exports = Deferred; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var Set = require('./Set'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
"use strict"; | ||
function makeEmptyFunction(arg) { | ||
@@ -15,0 +15,0 @@ return function () { |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,7 @@ | ||
'use strict'; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,6 +16,2 @@ * | ||
'use strict'; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
var KIND_KEYS = 'keys'; | ||
@@ -24,3 +24,3 @@ var KIND_VALUES = 'values'; | ||
*/ | ||
var ArrayIterators = (function () { | ||
var ArrayIterators = function () { | ||
@@ -31,3 +31,3 @@ var hasNative = hasNativeIterator(Array); | ||
if (!hasNative) { | ||
ArrayIterator = (function () { | ||
ArrayIterator = function () { | ||
// 22.1.5.1 CreateArrayIterator Abstract Operation | ||
@@ -45,2 +45,3 @@ | ||
ArrayIterator.prototype.next = function next() { | ||
@@ -74,2 +75,3 @@ if (this._iteratedObject == null) { | ||
ArrayIterator.prototype[Symbol.iterator] = function () { | ||
@@ -80,3 +82,3 @@ return this; | ||
return ArrayIterator; | ||
})(); | ||
}(); | ||
} | ||
@@ -103,3 +105,3 @@ | ||
}; | ||
})(); | ||
}(); | ||
@@ -111,3 +113,3 @@ // ----------------------------------------------------------------- | ||
*/ | ||
var StringIterators = (function () { | ||
var StringIterators = function () { | ||
@@ -118,3 +120,3 @@ var hasNative = hasNativeIterator(String); | ||
if (!hasNative) { | ||
StringIterator = (function () { | ||
StringIterator = function () { | ||
// 21.1.5.1 CreateStringIterator Abstract Operation | ||
@@ -131,2 +133,3 @@ | ||
StringIterator.prototype.next = function next() { | ||
@@ -167,2 +170,3 @@ if (this._iteratedString == null) { | ||
StringIterator.prototype[Symbol.iterator] = function () { | ||
@@ -173,3 +177,3 @@ return this; | ||
return StringIterator; | ||
})(); | ||
}(); | ||
} | ||
@@ -182,2 +186,3 @@ | ||
values: hasNative ? function (string) { | ||
@@ -193,3 +198,3 @@ return string[Symbol.iterator](); | ||
}; | ||
})(); | ||
}(); | ||
@@ -206,3 +211,3 @@ function hasNativeIterator(classObject) { | ||
var ObjectIterator = (function () { | ||
var ObjectIterator = function () { | ||
function ObjectIterator(object, kind) { | ||
@@ -217,8 +222,2 @@ _classCallCheck(this, ObjectIterator); | ||
/** | ||
* Generic object iterator, iterates over all own enumerable | ||
* properties. Used only if if no specific iterator is available, | ||
* and object don't implement iterator protocol. | ||
*/ | ||
ObjectIterator.prototype.next = function next() { | ||
@@ -251,4 +250,11 @@ var len = this._keys.length; | ||
return ObjectIterator; | ||
})(); | ||
}(); | ||
/** | ||
* Generic object iterator, iterates over all own enumerable | ||
* properties. Used only if if no specific iterator is available, | ||
* and object don't implement iterator protocol. | ||
*/ | ||
var GenericIterators = { | ||
@@ -258,7 +264,5 @@ keys: function (object) { | ||
}, | ||
values: function (object) { | ||
return new ObjectIterator(object, KIND_VALUES); | ||
}, | ||
entries: function (object) { | ||
@@ -309,7 +313,5 @@ return new ObjectIterator(object, KIND_ENTRIES); | ||
}, | ||
values: function (object) { | ||
return enumerate(object, KIND_VALUES); | ||
}, | ||
entries: function (object) { | ||
@@ -319,2 +321,3 @@ return enumerate(object, KIND_ENTRIES); | ||
generic: GenericIterators.entries | ||
@@ -321,0 +324,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,4 +15,2 @@ * | ||
"use strict"; | ||
if (global.ErrorUtils) { | ||
@@ -17,0 +17,0 @@ module.exports = global.ErrorUtils; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* | ||
@@ -19,4 +21,2 @@ * Licensed under the Apache License, Version 2.0 (the "License"); | ||
'use strict'; | ||
var emptyFunction = require('./emptyFunction'); | ||
@@ -23,0 +23,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,2 +13,4 @@ * | ||
'use strict'; | ||
/** | ||
@@ -18,4 +20,2 @@ * The everySet() method tests whether all elements in the given Set pass the | ||
*/ | ||
'use strict'; | ||
function everySet(set, callback, context) { | ||
@@ -22,0 +22,0 @@ var iterator = set.entries(); |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -16,2 +16,3 @@ * | ||
// then we'll try to polyfill, which might not work correctly in all environments. | ||
if (global.fetch) { | ||
@@ -18,0 +19,0 @@ module.exports = global.fetch.bind(global); |
@@ -1,13 +0,3 @@ | ||
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
var Promise = require('./Promise'); | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -25,2 +15,6 @@ * | ||
var Promise = require('./Promise'); | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
var ExecutionEnvironment = require('./ExecutionEnvironment'); | ||
@@ -82,3 +76,3 @@ | ||
// TODO(#7595849): Only retry on transient HTTP errors. | ||
process.env.NODE_ENV !== 'production' ? process.env.NODE_ENV !== 'production' ? warning(false, 'fetchWithRetries: HTTP error, retrying.') : undefined : undefined, retryRequest(); | ||
process.env.NODE_ENV !== 'production' ? warning(false, 'fetchWithRetries: HTTP error, retrying.') : undefined, retryRequest(); | ||
} else { | ||
@@ -85,0 +79,0 @@ // Request was not successful, giving up. |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var push = Array.prototype.push; | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -26,4 +28,2 @@ * | ||
*/ | ||
"use strict"; | ||
function flattenArray(array) { | ||
@@ -30,0 +30,0 @@ var result = []; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -16,2 +16,3 @@ * | ||
*/ | ||
function focusNode(node) { | ||
@@ -18,0 +19,0 @@ // IE8 can throw "Can't move focus to the control because it is invisible, |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -21,4 +23,2 @@ * | ||
*/ | ||
'use strict'; | ||
function getActiveElement() /*?DOMElement*/{ | ||
@@ -25,0 +25,0 @@ if (typeof document === 'undefined') { |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var getElementRect = require('./getElementRect'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var containsNode = require('./containsNode'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,4 +15,2 @@ * | ||
'use strict'; | ||
var ExecutionEnvironment = require('./ExecutionEnvironment'); | ||
@@ -17,0 +17,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var camelize = require('./camelize'); | ||
@@ -16,0 +16,0 @@ var hyphenate = require('./hyphenate'); |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -24,2 +24,3 @@ * | ||
*/ | ||
function getUnboundedScrollPosition(scrollable) { | ||
@@ -26,0 +27,0 @@ if (scrollable === window) { |
@@ -1,13 +0,1 @@ | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* | ||
* @typechecks | ||
*/ | ||
"use strict"; | ||
@@ -26,3 +14,13 @@ | ||
return width || 0; | ||
} | ||
} /** | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* | ||
* @typechecks | ||
*/ | ||
@@ -29,0 +27,0 @@ function getViewportHeight() { |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -23,2 +23,3 @@ * | ||
*/ | ||
function groupArray(array, fn) { | ||
@@ -25,0 +26,0 @@ var ret = {}; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var _uppercasePattern = /([A-Z])/g; | ||
@@ -16,0 +16,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,4 +15,2 @@ * | ||
'use strict'; | ||
var invariant = require('./invariant'); | ||
@@ -17,0 +17,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -16,4 +18,2 @@ * | ||
*/ | ||
'use strict'; | ||
function isNode(object) { | ||
@@ -20,0 +20,0 @@ return !!(object && (typeof Node === 'function' ? object instanceof Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string')); |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var isNode = require('./isNode'); | ||
@@ -16,0 +16,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -21,2 +21,3 @@ * | ||
*/ | ||
function joinClasses(className /*, ... */) { | ||
@@ -23,0 +24,0 @@ if (!className) { |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -21,4 +23,2 @@ * | ||
*/ | ||
"use strict"; | ||
var keyOf = function (oneKeyObj) { | ||
@@ -25,0 +25,0 @@ var key; |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
"use strict"; | ||
module.exports = { | ||
@@ -15,0 +15,0 @@ BACKSPACE: 8, |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
'use strict'; | ||
module.exports = require('core-js/library/es6/map'); |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var minBy = require('./minBy'); | ||
@@ -16,0 +16,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -20,2 +20,3 @@ * | ||
*/ | ||
function memoizeStringOnly(callback) { | ||
@@ -22,0 +23,0 @@ var cache = {}; |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
"use strict"; | ||
var compareNumber = function (a, b) { | ||
@@ -16,0 +16,0 @@ return a - b; |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,6 +13,4 @@ * | ||
"use strict"; | ||
var nativeRequestAnimationFrame = global.requestAnimationFrame || global.webkitRequestAnimationFrame || global.mozRequestAnimationFrame || global.oRequestAnimationFrame || global.msRequestAnimationFrame; | ||
module.exports = nativeRequestAnimationFrame; |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
"use strict"; | ||
var nullthrows = function (x) { | ||
@@ -16,0 +16,0 @@ if (x != null) { |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -18,4 +20,2 @@ * | ||
*/ | ||
"use strict"; | ||
function partitionArray(array, predicate, context) { | ||
@@ -22,0 +22,0 @@ var first = []; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var performance = require('./performance'); | ||
@@ -16,0 +16,0 @@ |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -10,30 +12,18 @@ * | ||
*/ | ||
'use strict'; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
var PhotosMimeType = (function () { | ||
function PhotosMimeType(mimeString) { | ||
_classCallCheck(this, PhotosMimeType); | ||
// Allow this to be used as a function | ||
if (this instanceof PhotosMimeType === false) { | ||
return new PhotosMimeType(mimeString); | ||
} | ||
this._parts = mimeString.split('/'); | ||
var PhotosMimeType = { | ||
isImage: function (mimeString) { | ||
return getParts(mimeString)[0] === 'image'; | ||
}, | ||
isJpeg: function (mimeString) { | ||
var parts = getParts(mimeString); | ||
return PhotosMimeType.isImage(mimeString) && ( | ||
// see http://fburl.com/10972194 | ||
parts[1] === 'jpeg' || parts[1] === 'pjpeg'); | ||
} | ||
}; | ||
PhotosMimeType.prototype.isImage = function isImage() { | ||
return this._parts[0] === 'image'; | ||
}; | ||
function getParts(mimeString) { | ||
return mimeString.split('/'); | ||
} | ||
PhotosMimeType.prototype.isJpeg = function isJpeg() { | ||
return this.isImage() && ( | ||
// see http://fburl.com/10972194 | ||
this._parts[1] === 'jpeg' || this._parts[1] === 'pjpeg'); | ||
}; | ||
return PhotosMimeType; | ||
})(); | ||
module.exports = PhotosMimeType; |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
'use strict'; | ||
module.exports = require('promise'); |
@@ -1,9 +0,3 @@ | ||
'use strict'; | ||
var Promise = require('./Promise'); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -20,2 +14,4 @@ * | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var Deferred = require('./Deferred'); | ||
@@ -31,3 +27,3 @@ | ||
var PromiseMap = (function () { | ||
var PromiseMap = function () { | ||
function PromiseMap() { | ||
@@ -56,3 +52,3 @@ _classCallCheck(this, PromiseMap); | ||
return PromiseMap; | ||
})(); | ||
}(); | ||
@@ -59,0 +55,0 @@ function getDeferred(entries, key) { |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -16,4 +18,2 @@ * | ||
*/ | ||
"use strict"; | ||
function removeFromArray(array, element) { | ||
@@ -20,0 +20,0 @@ var index = array.indexOf(element); |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/** | ||
@@ -11,4 +13,2 @@ * Copyright 2014-2015, Facebook, Inc. | ||
'use strict'; | ||
var emptyFunction = require('./emptyFunction'); | ||
@@ -15,0 +15,0 @@ var nativeRequestAnimationFrame = require('./nativeRequestAnimationFrame'); |
@@ -6,3 +6,3 @@ "use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -9,0 +9,0 @@ * |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -16,4 +18,2 @@ * | ||
*/ | ||
"use strict"; | ||
function _isViewportScrollElement(element, doc) { | ||
@@ -20,0 +20,0 @@ return !!doc && (element === doc.documentElement || element === doc.body); |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
'use strict'; | ||
module.exports = require('core-js/library/es6/set'); |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,2 +13,4 @@ * | ||
'use strict'; | ||
/** | ||
@@ -18,4 +20,2 @@ * The someSet() method tests whether some elements in the given Set pass the | ||
*/ | ||
'use strict'; | ||
function someSet(set, callback, context) { | ||
@@ -22,0 +22,0 @@ var iterator = set.entries(); |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -21,4 +23,2 @@ * | ||
*/ | ||
"use strict"; | ||
function sprintf(format) { | ||
@@ -25,0 +25,0 @@ for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -12,4 +14,2 @@ * | ||
'use strict'; | ||
var getStyleProperty = require('./getStyleProperty'); | ||
@@ -16,0 +16,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -30,2 +30,3 @@ * | ||
// is misc. other language punctuation marks | ||
var PUNCTUATION = '[.,+*?$|#{}()\'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;' + '・、。〈-】〔-〟:-?!-/' + '[-`{-・⸮؟٪-٬؛،؍' + '﴾﴿᠁।၊။‐-‧‰-⁞' + '¡-±´-¸º»¿]'; | ||
@@ -32,0 +33,0 @@ |
@@ -0,3 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
"use strict"; | ||
var TouchEventUtils = { | ||
@@ -15,0 +15,0 @@ /** |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -21,2 +21,8 @@ * | ||
'use strict'; | ||
var UnicodeBidiDirection = require('./UnicodeBidiDirection'); | ||
var invariant = require('./invariant'); | ||
/** | ||
@@ -30,8 +36,2 @@ * RegExp ranges of characters with a *Strong* Bidi_Class value. | ||
*/ | ||
'use strict'; | ||
var UnicodeBidiDirection = require('./UnicodeBidiDirection'); | ||
var invariant = require('./invariant'); | ||
var RANGE_BY_BIDI_TYPE = { | ||
@@ -38,0 +38,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -29,5 +29,2 @@ * | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
var invariant = require('./invariant'); | ||
@@ -34,0 +31,0 @@ |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -45,3 +45,3 @@ * | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -53,3 +53,3 @@ var UnicodeBidi = require('./UnicodeBidi'); | ||
var UnicodeBidiService = (function () { | ||
var UnicodeBidiService = function () { | ||
@@ -75,8 +75,9 @@ /** | ||
/** | ||
* Reset the interal state | ||
* Reset the internal state | ||
* | ||
* Instead of creating a new instance, You can just reset() your instance | ||
* Instead of creating a new instance, you can just reset() your instance | ||
* everytime you start a new loop. | ||
*/ | ||
UnicodeBidiService.prototype.reset = function reset() { | ||
@@ -87,3 +88,3 @@ this._lastDir = this._defaultDir; | ||
/** | ||
* Returnes the direction of a block of text, and remembers it as the | ||
* Returns the direction of a block of text, and remembers it as the | ||
* fall-back direction for the next paragraph. | ||
@@ -95,2 +96,3 @@ * | ||
UnicodeBidiService.prototype.getDirection = function getDirection(str) { | ||
@@ -102,4 +104,4 @@ this._lastDir = UnicodeBidi.getDirection(str, this._lastDir); | ||
return UnicodeBidiService; | ||
})(); | ||
}(); | ||
module.exports = UnicodeBidiService; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -28,2 +28,3 @@ * | ||
*/ | ||
var R_LATIN_ASCII = 'a-zA-Z'; | ||
@@ -30,0 +31,0 @@ var R_LATIN_FULLWIDTH = 'A-Za-z'; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -14,5 +14,5 @@ * | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var URI = (function () { | ||
var URI = function () { | ||
function URI(uri) { | ||
@@ -29,4 +29,4 @@ _classCallCheck(this, URI); | ||
return URI; | ||
})(); | ||
}(); | ||
module.exports = URI; |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -114,2 +114,3 @@ * | ||
*/ | ||
isBrowser: function (query) { | ||
@@ -119,2 +120,3 @@ return compare(UserAgentData.browserName, UserAgentData.browserFullVersion, query); | ||
/** | ||
@@ -132,2 +134,3 @@ * Check if the User Agent browser uses a 32 or 64 bit architecture. | ||
/** | ||
@@ -161,2 +164,3 @@ * Check if the User Agent device matches `query`. | ||
/** | ||
@@ -188,2 +192,3 @@ * Check if the User Agent rendering engine matches `query`. | ||
/** | ||
@@ -228,2 +233,3 @@ * Check if the User Agent platform matches `query`. | ||
/** | ||
@@ -240,5 +246,4 @@ * Check if the User Agent platform is a 32 or 64 bit architecture. | ||
} | ||
}; | ||
module.exports = mapObject(UserAgent, memoizeStringOnly); |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -13,4 +13,2 @@ * | ||
var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })(); | ||
var invariant = require('./invariant'); | ||
@@ -61,7 +59,5 @@ | ||
} else { | ||
var _expressions = _slicedToArray(expressions, 2); | ||
var startVersion = expressions[0]; | ||
var endVersion = expressions[1]; | ||
var startVersion = _expressions[0]; | ||
var endVersion = _expressions[1]; | ||
!(isSimpleVersion(startVersion) && isSimpleVersion(endVersion)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'operands to the "-" operator must be simple (no modifiers)') : invariant(false) : undefined; | ||
@@ -89,6 +85,6 @@ | ||
var _getModifierAndComponents = getModifierAndComponents(range); | ||
var _getModifierAndCompon = getModifierAndComponents(range); | ||
var modifier = _getModifierAndComponents.modifier; | ||
var rangeComponents = _getModifierAndComponents.rangeComponents; | ||
var modifier = _getModifierAndCompon.modifier; | ||
var rangeComponents = _getModifierAndCompon.rangeComponents; | ||
@@ -341,6 +337,5 @@ switch (modifier) { | ||
var _normalizeVersions2 = _slicedToArray(_normalizeVersions, 2); | ||
var aNormalized = _normalizeVersions[0]; | ||
var bNormalized = _normalizeVersions[1]; | ||
var aNormalized = _normalizeVersions2[0]; | ||
var bNormalized = _normalizeVersions2[1]; | ||
@@ -389,2 +384,3 @@ for (var i = 0; i < bNormalized.length; i++) { | ||
*/ | ||
contains: function (range, version) { | ||
@@ -391,0 +387,0 @@ return checkOrExpression(range.trim(), version.trim()); |
@@ -0,3 +1,5 @@ | ||
'use strict'; | ||
/** | ||
* Copyright 2013-2015, Facebook, Inc. | ||
* Copyright (c) 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
@@ -11,4 +13,2 @@ * | ||
'use strict'; | ||
function xhrSimpleDataSerializer(data) { | ||
@@ -15,0 +15,0 @@ var uri = []; |
{ | ||
"name": "fbjs", | ||
"version": "0.8.0-alpha.1", | ||
"version": "0.8.0-alpha.2", | ||
"description": "A collection of utility libraries used by other Facebook JS projects", | ||
@@ -20,10 +20,32 @@ "main": "index.js", | ||
"devDependencies": { | ||
"babel": "^5.4.7", | ||
"babel-eslint": "4.1.8", | ||
"babel-core": "^6.0.0", | ||
"babel-eslint": "^5.0.0", | ||
"babel-plugin-check-es2015-constants": "^6.5.0", | ||
"babel-plugin-syntax-object-rest-spread": "^6.3.13", | ||
"babel-plugin-syntax-trailing-function-commas": "^6.5.0", | ||
"babel-plugin-transform-class-properties": "^6.5.0", | ||
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.5.0", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.5.0", | ||
"babel-plugin-transform-es2015-classes": "^6.5.2", | ||
"babel-plugin-transform-es2015-computed-properties": "^6.5.2", | ||
"babel-plugin-transform-es2015-destructuring": "^6.5.0", | ||
"babel-plugin-transform-es2015-for-of": "^6.5.2", | ||
"babel-plugin-transform-es2015-literals": "^6.5.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.5.2", | ||
"babel-plugin-transform-es2015-object-super": "^6.5.0", | ||
"babel-plugin-transform-es2015-parameters": "^6.5.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0", | ||
"babel-plugin-transform-es2015-spread": "^6.5.2", | ||
"babel-plugin-transform-es2015-template-literals": "^6.5.2", | ||
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0", | ||
"babel-plugin-transform-es3-property-literals": "^6.5.0", | ||
"babel-plugin-transform-flow-strip-types": "^6.5.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.5.0", | ||
"del": "^1.2.1", | ||
"eslint": "1.10.3", | ||
"fbjs-scripts": "file:scripts", | ||
"flow-bin": "^0.20.1", | ||
"flow-bin": "^0.22.1", | ||
"gulp": "^3.9.0", | ||
"gulp-babel": "^5.1.0", | ||
"gulp-babel": "^6.0.0", | ||
"gulp-flatten": "^0.2.0", | ||
@@ -68,5 +90,6 @@ "gulp-rename": "^1.2.2", | ||
"dependencies": { | ||
"babel-plugin-syntax-flow": "^6.5.0", | ||
"core-js": "^1.0.0", | ||
"isomorphic-fetch": "^2.1.1", | ||
"loose-envify": "^1.0.0", | ||
"isomorphic-fetch": "^2.1.1", | ||
"promise": "^7.1.1", | ||
@@ -73,0 +96,0 @@ "ua-parser-js": "^0.7.9" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32
362102
6
37
5124
+ Addedbabel-plugin-syntax-flow@6.18.0(transitive)