mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Avoid circular dependencies.
Former-commit-id: a45dd055f44f72797cb62ba040ecc2d45cc24634
This commit is contained in:
2
dist/lodash.min.js
vendored
2
dist/lodash.min.js
vendored
@@ -4,7 +4,7 @@
|
||||
* Build: `lodash modern -o ./dist/lodash.js`
|
||||
*/
|
||||
;!function(n){function t(n,t,e){e=(e||0)-1;for(var r=n?n.length:0;++e<r;)if(n[e]===t)return e;return-1}function e(n,e){var r=typeof e;if(n=n.k,"boolean"==r||e==h)return n[e];"number"!=r&&"string"!=r&&(r="object");var u="number"==r?e:k+e;return n=n[r]||(n[r]={}),"object"==r?n[u]&&-1<t(n[u],e)?0:-1:n[u]?0:-1}function r(n){var t=this.k,e=typeof n;if("boolean"==e||n==h)t[n]=y;else{"number"!=e&&"string"!=e&&(e="object");var r="number"==e?n:k+n,t=t[e]||(t[e]={});"object"==e?(t[r]||(t[r]=[])).push(n):t[r]=y
|
||||
}}function u(n){return n.charCodeAt(0)}function a(n,t){var e=n.m,r=t.m;if(n=n.l,t=t.l,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function o(n){var t=-1,e=n.length,u=n[0],a=n[e-1];if(u&&typeof u=="object"&&a&&typeof a=="object")return b;for(u=l(),u["false"]=u["null"]=u["true"]=u.undefined=b,a=l(),a.b=n,a.k=u,a.push=r;++t<e;)a.push(n[t]);return a}function i(n){return"\\"+H[n]}function f(){return m.pop()||[]}function l(){return d.pop()||{b:h,k:h,l:h,"false":b,m:0,leading:b,maxWait:0,"null":b,number:h,object:h,push:h,string:h,trailing:b,"true":b,undefined:b,n:h}
|
||||
}}function u(n){return n.charCodeAt(0)}function a(n,t){var e=n.m,r=t.m;if(n=n.l,t=t.l,n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return e<r?-1:1}function o(n){var t=-1,e=n.length,u=n[0],a=n[e-1];if(u&&typeof u=="object"&&a&&typeof a=="object")return b;for(u=l(),u["false"]=u["null"]=u["true"]=u.undefined=b,a=l(),a.b=n,a.k=u,a.push=r;++t<e;)a.push(n[t]);return a}function i(n){return"\\"+H[n]}function f(){return m.pop()||[]}function l(){return d.pop()||{b:h,k:h,l:h,"false":b,m:0,leading:b,maxWait:0,"null":b,number:h,y:h,push:h,string:h,trailing:b,"true":b,undefined:b,n:h}
|
||||
}function c(n){n.length=0,m.length<w&&m.push(n)}function p(n){var t=n.k;t&&p(t),n.b=n.k=n.l=n.object=n.number=n.string=n.n=h,d.length<w&&d.push(n)}function s(n,t,e){t||(t=0),typeof e=="undefined"&&(e=n?n.length:0);var r=-1;e=e-t||0;for(var u=Array(0>e?0:e);++r<e;)u[r]=n[t+r];return u}function v(r){function m(n){if(!n||ge.call(n)!=K)return b;var t=n.valueOf,e=typeof t=="function"&&(e=le(t))&&le(e);return e?n==e||le(n)==e:lt(n)}function d(n,t,e){if(!n||!G[typeof n])return n;t=t&&typeof e=="undefined"?t:Y.createCallback(t,e,3);
|
||||
for(var r=-1,u=G[typeof n]&&$e(n),a=u?u.length:0;++r<a&&(e=u[r],!(t(n[e],e,n)===false)););return n}function w(n,t,e){var r;if(!n||!G[typeof n])return n;t=t&&typeof e=="undefined"?t:Y.createCallback(t,e,3);for(r in n)if(t(n[r],r,n)===false)break;return n}function H(n,t,e){var r,u=n,a=u;if(!u)return a;for(var o=arguments,i=0,f=typeof e=="number"?2:o.length;++i<f;)if((u=o[i])&&G[typeof u])for(var l=-1,c=G[typeof u]&&$e(u),p=c?c.length:0;++l<p;)r=c[l],"undefined"==typeof a[r]&&(a[r]=u[r]);return a}function J(n,t,e){var r,u=n,a=u;
|
||||
if(!u)return a;var o=arguments,i=0,f=typeof e=="number"?2:o.length;if(3<f&&"function"==typeof o[f-2])var l=Y.createCallback(o[--f-1],o[f--],2);else 2<f&&"function"==typeof o[f-1]&&(l=o[--f]);for(;++i<f;)if((u=o[i])&&G[typeof u])for(var c=-1,p=G[typeof u]&&$e(u),s=p?p.length:0;++c<s;)r=p[c],a[r]=l?l(a[r],u[r]):u[r];return a}function Q(n){var t,e=[];if(!n||!G[typeof n])return e;for(t in n)ce.call(n,t)&&e.push(t);return e}function Y(n){return n&&typeof n=="object"&&!Ne(n)&&ce.call(n,"__wrapped__")?n:new Z(n)
|
||||
|
||||
Reference in New Issue
Block a user