mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Rebuild dist.
This commit is contained in:
2
dist/lodash.underscore.min.js
vendored
2
dist/lodash.underscore.min.js
vendored
@@ -7,7 +7,7 @@
|
||||
if(typeof r=="undefined"||!("prototype"in n))return n;switch(t){case 1:return function(t){return n.call(r,t)};case 2:return function(t,e){return n.call(r,t,e)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,o){return n.call(r,t,e,u,o)}}return z(n,r)}function c(n){function r(){for(var n=-1,a=arguments.length,c=Array(a);++n<a;)c[n]=arguments[n];if(u){for(var n=u,a=o,l=a.length,p=-1,s=Qr(c.length-l,0),h=-1,g=n.length,v=Array(s+g);++h<g;)v[h]=n[h];for(;++p<l;)v[a[p]]=c[p];
|
||||
for(;s--;)v[h++]=c[p++];c=v}return n=i?e:this,this instanceof r?(n=f(t.prototype),a=t.apply(n,c),K(a)?a:n):t.apply(n,c)}var t=n[0],e=n[3],u=n[4],o=n[6],i=n[1]&ir;return r}function l(n,r){var t=n?n.length:0;if(!t)return[];for(var e=-1,u=d(),o=[];++e<t;){var i=n[e];0>u(r,i)&&o.push(i)}return o}function p(n,r){var t=-1,e=n?n.length:0;if(typeof e=="number"&&-1<e&&e<=Rr)for(;++t<e&&r(n[t],t,n)!==ar;);else v(n,r,ct);return n}function s(n,r){var t=n?n.length:0;if(typeof t=="number"&&-1<t&&t<=Rr)for(;t--&&r(n[t],t,n)!==ar;);else for(var t=ct(n),e=t.length;e--;){var u=t[e];
|
||||
if(r(n[u],u,n)===ar)break}return n}function h(n,r,t,e){var u;return t(n,function(n,t,o){return r(n,t,o)?(u=e?t:n,ar):void 0}),u}function g(n,r,t,e){e=(+e||0)-1;for(var u=n?n.length:0,o=[];++e<u;){var i=n[e];if(i&&typeof i=="object"&&typeof i.length=="number"&&(at(i)||H(i))){r||(i=g(i,r,t));var f=-1,a=i.length,c=o.length;for(o.length+=a;++f<a;)o[c++]=i[f]}else t||o.push(i)}return o}function v(n,r,t){var e=-1;t=t(n);for(var u=t.length;++e<u;){var o=t[e];if(r(n[o],o,n)===ar)break}return n}function y(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;
|
||||
var u=typeof n,i=typeof r;if(n===n&&(null==n||null==r||"function"!=u&&"object"!=u&&"function"!=i&&"object"!=i))return false;if(i=$r.call(n),u=$r.call(r),i!=u)return false;switch(i){case mr:case _r:return+n==+r;case br:return n!=+n?r!=+r:0==n?1/n==1/r:n==+r;case wr:case jr:return n==r+""}if(u=i==yr,!u){var f=n instanceof o,a=r instanceof o;if(f||a)return y(f?n.__wrapped__:n,a?r.__wrapped__:r,t,e);if(i!=dr)return false;if(i=Cr.call(n,"constructor"),f=Cr.call(r,"constructor"),i!==f||!i&&(i=n.constructor,f=r.constructor,i!=f&&!(J(i)&&i instanceof i&&J(f)&&f instanceof f)&&"constructor"in n&&"constructor"in r))return false
|
||||
var u=typeof n,i=typeof r;if(n===n&&(null==n||null==r||"function"!=u&&"object"!=u&&"function"!=i&&"object"!=i))return false;if(i=$r.call(n),u=$r.call(r),i!=u)return false;switch(i){case mr:case _r:return+n==+r;case br:return n!=+n?r!=+r:0==n?1/n==1/r:n==+r;case wr:case jr:return n==r+""}if(u=i==yr,!u){var f=n instanceof o,a=r instanceof o;if(f||a)return y(f?n.__wrapped__:n,a?r.__wrapped__:r,t,e);if(i!=dr)return false;if(i=Cr.call(n,"constructor"),f=Cr.call(r,"constructor"),i!=f||!i&&(i=n.constructor,f=r.constructor,i!=f&&!(J(i)&&i instanceof i&&J(f)&&f instanceof f)&&"constructor"in n&&"constructor"in r))return false
|
||||
}for(t||(t=[]),e||(e=[]),i=t.length;i--;)if(t[i]==n)return e[i]==r;var c=true,l=0;if(t.push(n),e.push(r),u){if(l=r.length,c=l==n.length)for(;l--&&(c=y(n[l],r[l],t,e)););}else v(r,function(r,u,o){return Cr.call(o,u)?(l++,!(c=Cr.call(n,u)&&y(n[u],r,t,e))&&ar):void 0},X),c&&v(n,function(n,r,t){return Cr.call(t,r)?!(c=-1<--l)&&ar:void 0},X);return t.pop(),e.pop(),c}function m(n,r,t){var e=n?n.length:0;if(!e)return[];for(var u=-1,o=d(),i=[],f=t&&!r?[]:i;++u<e;){var a=n[u],c=t?t(a,u,n):a;r?u&&f===c||(f=c,i.push(a)):0>o(f,c)&&(t&&f.push(c),i.push(a))
|
||||
}return i}function _(n,r){return function(t,e,u){var o=r?[[],[]]:{};e=nr(e,u,3),u=-1;var i=t?t.length:0;if(typeof i=="number"&&-1<i&&i<=Rr)for(;++u<i;){var f=t[u];n(o,f,e(f,u,t),t)}else p(t,function(r,t,u){n(o,r,e(r,t,u),u)});return o}}function b(n,r,t,e,u,i,f,a){var l=r&fr;if(!J(n))throw new TypeError;if(l&&!u.length&&(r&=~fr,l=u=false),l){f=u;for(var l=-1,p=f.length,s=[];++l<p;)f[l]===o&&s.push(l);f=s}return c([n,r,t,e,u,i,f,a])}function d(){var r=(r=o.indexOf)===A?n:r;return r}function w(n){return typeof n=="function"&&Ir.test(zr.call(n))
|
||||
}function j(n){for(var r=-1,t=X(n),e=t.length,u=[];++r<e;){var o=t[r];Cr.call(n,o)&&u.push(o)}return u}function x(n,r,t){return null==r||t?n?n[0]:or:E(n,0,0>r?0:r)}function A(r,t,e){var u=r?r.length:0;if(typeof e=="number")e=0>e?Qr(0,u+e):e||0;else if(e)return e=O(r,t),u&&r[e]===t?e:-1;return n(r,t,e)}function T(n,r,t){return E(n,null==r||t?1:0>r?0:r)}function E(n,r,t){var e=-1,u=n?n.length:0;for(r=+r||0,0>r?r=Qr(u+r,0):r>u&&(r=u),t=typeof t=="undefined"?u:+t||0,0>t?t=Qr(u+t,0):t>u&&(t=u),u=r>t?0:t-r,t=Array(u);++e<u;)t[e]=n[r+e];
|
||||
|
||||
Reference in New Issue
Block a user