diff --git a/dist/lodash.compat.js b/dist/lodash.compat.js index 93f396c29..0429d2e20 100644 --- a/dist/lodash.compat.js +++ b/dist/lodash.compat.js @@ -861,7 +861,7 @@ /** * Detect if functions can be decompiled by `Function#toString` - * (all but PS3 and older Opera mobile browsers & avoided in Windows 8 apps). + * (all but PS3 and older Opera mobile browsers; forced `false` for Windows 8 apps). * * @memberOf _.support * @type boolean @@ -925,8 +925,8 @@ /** * Detect lack of support for accessing string characters by index. * - * IE < 8 can't access characters by index and IE 8 can only access - * characters by index on string literals. + * IE < 8 can't access characters by index. IE 8 can only access characters + * by index on string literals, not string objects. * * @memberOf _.support * @type boolean @@ -960,20 +960,20 @@ } /** - * Detect if `arguments` object indexes are non-enumerable - * (Firefox < 4, IE < 9, PhantomJS, Safari < 5.1). + * Detect if `arguments` object indexes are non-enumerable. * - * Chrome < 25 and Node.js < 0.11.0 will treat `arguments` object indexes - * that exceed their function's formal parameters and whose associated - * values are `0` as non-enumerable and incorrectly return `false` from - * `Object#hasOwnProperty`. + * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object + * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat + * `arguments` object indexes as non-enumerable and fail `hasOwnProperty` + * checks for indexes that exceed their function's formal parameters with + * associated values of `0`. * * @memberOf _.support * @type boolean */ try { - support.nonEnumArgs = !(argsKey == '1' && hasOwnProperty.call(arguments, '1') && - propertyIsEnumerable.call(arguments, '1')); + support.nonEnumArgs = !(argsKey == '1' && hasOwnProperty.call(arguments, argsKey) && + propertyIsEnumerable.call(arguments, argsKey)); } catch(e) { support.nonEnumArgs = true; } diff --git a/dist/lodash.compat.min.js b/dist/lodash.compat.min.js index 5103e7c21..11220d322 100644 --- a/dist/lodash.compat.min.js +++ b/dist/lodash.compat.min.js @@ -37,7 +37,7 @@ for(var f in n)l&&"prototype"==f||a&&("message"==f||"name"==f)||i&&(t=+f,-1--n?t.apply(this,arguments):void 0}},o.assign=ce,o.at=function(n,t){var e=arguments,r=-1,u=yt(e,true,false,1),o=u.length,i=typeof t; diff --git a/dist/lodash.js b/dist/lodash.js index f8e09959c..5dcb5c244 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -773,7 +773,7 @@ /** * Detect if functions can be decompiled by `Function#toString` - * (all but PS3 and older Opera mobile browsers & avoided in Windows 8 apps). + * (all but PS3 and older Opera mobile browsers; forced `false` for Windows 8 apps). * * @memberOf _.support * @type boolean @@ -801,20 +801,20 @@ } /** - * Detect if `arguments` object indexes are non-enumerable - * (Firefox < 4, IE < 9, PhantomJS, Safari < 5.1). + * Detect if `arguments` object indexes are non-enumerable. * - * Chrome < 25 and Node.js < 0.11.0 will treat `arguments` object indexes - * that exceed their function's formal parameters and whose associated - * values are `0` as non-enumerable and incorrectly return `false` from - * `Object#hasOwnProperty`. + * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object + * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat + * `arguments` object indexes as non-enumerable and fail `hasOwnProperty` + * checks for indexes that exceed their function's formal parameters with + * associated values of `0`. * * @memberOf _.support * @type boolean */ try { - support.nonEnumArgs = !(argsKey == '1' && hasOwnProperty.call(arguments, '1') && - propertyIsEnumerable.call(arguments, '1')); + support.nonEnumArgs = !(argsKey == '1' && hasOwnProperty.call(arguments, argsKey) && + propertyIsEnumerable.call(arguments, argsKey)); } catch(e) { support.nonEnumArgs = true; } diff --git a/dist/lodash.min.js b/dist/lodash.min.js index 49b40f54c..351a2a30f 100644 --- a/dist/lodash.min.js +++ b/dist/lodash.min.js @@ -35,7 +35,7 @@ return o}function de(n,t,e){var r={};if(typeof t!="function")for(var u=-1,i=ht(a }function ke(n){return n}function je(n){n||(n={});var t=Rr(n),e=t.length,r=t[0],u=n[r];return 1!=e||u!==u||he(u)?function(r){for(var u=e,o=false;u--&&(o=t[u],o=He.call(r,o)&&wt(r[o],n[o],null,true)););return o}:function(n){return He.call(n,r)?(n=n[r],u===n&&(0!==u||1/u==1/n)):false}}function Ce(n,t,e){var r=true,u=t&&fe(t);t&&(e||u.length)||(null==e&&(e=t),t=n,n=o,u=fe(t)),false===e?r=false:he(e)&&"chain"in e&&(r=e.chain),e=-1;for(var i=se(n),a=u?u.length:0;++e--n?t.apply(this,arguments):void 0}},o.assign=ae,o.at=function(n,t){var e=arguments,r=-1,u=ht(e,true,false,1),o=u.length,i=typeof t;for("number"!=i&&"string"!=i||!e[2]||e[2][t]!==n||(o=1),e=Ee(o);++r