Bump to v4.13.0.

This commit is contained in:
John-David Dalton
2016-05-21 00:48:34 -07:00
parent 6f47eae67b
commit c731ef8e1e
93 changed files with 839 additions and 16758 deletions

View File

@@ -1,4 +1,4 @@
define(['./_isStrictComparable', './toPairs'], function(isStrictComparable, toPairs) {
define(['./_isStrictComparable', './keys'], function(isStrictComparable, keys) {
/**
* Gets the property names, values, and compare flags of `object`.
@@ -8,11 +8,14 @@ define(['./_isStrictComparable', './toPairs'], function(isStrictComparable, toPa
* @returns {Array} Returns the match data of `object`.
*/
function getMatchData(object) {
var result = toPairs(object),
var result = keys(object),
length = result.length;
while (length--) {
result[length][2] = isStrictComparable(result[length][1]);
var key = result[length],
value = object[key];
result[length] = [key, value, isStrictComparable(value)];
}
return result;
}