Ensure underscore builds use basicFlatten.

Former-commit-id: 148f37a27467391e9719fb098acb75ebac256f1b
This commit is contained in:
John-David Dalton
2013-07-13 23:24:57 -07:00
parent 740981376d
commit b87fec554f
9 changed files with 187 additions and 187 deletions

2
dist/lodash.min.js vendored
View File

@@ -8,7 +8,7 @@
}function l(n){n.length=0,m.length<x&&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<x&&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)!=U)return b;var t=n.valueOf,e=typeof t=="function"&&(e=ce(t))&&ce(e);return e?n==e||ce(n)==e:it(n)}function d(n,t,e){if(!n||!J[typeof n])return n;t=t&&typeof e=="undefined"?t:nt.createCallback(t,e);
for(var r=-1,u=J[typeof n]&&Ae(n),a=u?u.length:0;++r<a&&(e=u[r],!(t(n[e],e,n)===false)););return n}function x(n,t,e){var r;if(!n||!J[typeof n])return n;t=t&&typeof e=="undefined"?t:nt.createCallback(t,e);for(r in n)if(t(n[r],r,n)===false)break;return n}function L(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])&&J[typeof u])for(var c=-1,l=J[typeof u]&&Ae(u),p=l?l.length:0;++c<p;)r=l[c],"undefined"==typeof a[r]&&(a[r]=u[r]);return a}function Q(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 c=nt.createCallback(o[--f-1],o[f--],2);else 2<f&&"function"==typeof o[f-1]&&(c=o[--f]);for(;++i<f;)if((u=o[i])&&J[typeof u])for(var l=-1,p=J[typeof u]&&Ae(u),s=p?p.length:0;++l<s;)r=p[l],a[r]=c?c(a[r],u[r]):u[r];return a}function Y(n){var t,e=[];if(!n||!J[typeof n])return e;for(t in n)le.call(n,t)&&e.push(t);return e}function nt(n){return n&&typeof n=="object"&&!Se(n)&&le.call(n,"__wrapped__")?n:new tt(n)
}function tt(n){this.__wrapped__=n}function et(n,t,e,r){r=(r||0)-1;for(var u=n?n.length:0,a=[];++r<u;){var o=n[r];o&&typeof o=="object"&&(Se(o)||ct(o))?pe.apply(a,t?o:et(o)):e||a.push(o)}return a}function rt(n,r,u){var a=-1,i=ot(),c=n?n.length:0,s=[],v=!r&&c>=C&&i===t,g=u||v?f():s;if(v){var y=o(g);y?(i=e,g=y):(v=b,g=u?g:(l(g),s))}for(;++a<c;){var y=n[a],h=u?u(y,a,n):y;(r?!a||g[g.length-1]!==h:0>i(g,h))&&((u||v)&&g.push(h),s.push(y))}return v?(l(g.b),p(g)):u&&l(g),s}function ut(n,t,e,r){function u(){var r=arguments,c=o?this:t;
}function tt(n){this.__wrapped__=n}function et(n,t,e,r){r=(r||0)-1;for(var u=n?n.length:0,a=[];++r<u;){var o=n[r];o&&typeof o=="object"&&(Se(o)||ct(o))?pe.apply(a,t?o:et(o,t,e)):e||a.push(o)}return a}function rt(n,r,u){var a=-1,i=ot(),c=n?n.length:0,s=[],v=!r&&c>=C&&i===t,g=u||v?f():s;if(v){var y=o(g);y?(i=e,g=y):(v=b,g=u?g:(l(g),s))}for(;++a<c;){var y=n[a],h=u?u(y,a,n):y;(r?!a||g[g.length-1]!==h:0>i(g,h))&&((u||v)&&g.push(h),s.push(y))}return v?(l(g.b),p(g)):u&&l(g),s}function ut(n,t,e,r){function u(){var r=arguments,c=o?this:t;
return a||(n=t[i]),e.length&&(r=r.length?(r=xe.call(r),f?r.concat(e):e.concat(r)):e),this instanceof u?(c=yt(n.prototype)?he(n.prototype):{},r=n.apply(c,r),yt(r)?r:c):n.apply(c,r)}var a=gt(n),o=!e,i=t;if(o){var f=r;e=t}else if(!a){if(!r)throw new ne;t=n}return u}function at(n){return Ie[n]}function ot(){var n=(n=nt.indexOf)===Bt?t:n;return n}function it(n){var t,e;return n&&ge.call(n)==U&&(t=n.constructor,!gt(t)||t instanceof t)?(x(n,function(n,t){e=t}),e===g||le.call(n,e)):b}function ft(n){return Ne[n]
}function ct(n){return n&&typeof n=="object"?ge.call(n)==q:b}function lt(n,t,e,r,u,a){var o=n;if(typeof t!="boolean"&&t!=h&&(r=e,e=t,t=b),typeof e=="function"){if(e=typeof r=="undefined"?e:nt.createCallback(e,r,1),o=e(o),typeof o!="undefined")return o;o=n}if(r=yt(o)){var i=ge.call(o);if(!H[i])return o;var c=Se(o)}if(!r||!t)return r?c?s(o):Q({},o):o;switch(r=Oe[i],i){case W:case P:return new r(+o);case M:case G:return new r(o);case V:return r(o.source,N.exec(o))}i=!u,u||(u=f()),a||(a=f());for(var p=u.length;p--;)if(u[p]==n)return a[p];
return o=c?r(o.length):{},c&&(le.call(n,"index")&&(o.index=n.index),le.call(n,"input")&&(o.input=n.input)),u.push(n),a.push(o),(c?Ct:d)(n,function(n,r){o[r]=lt(n,t,e,g,u,a)}),i&&(l(u),l(a)),o}function pt(n){var t=[];return x(n,function(n,e){gt(n)&&t.push(e)}),t.sort()}function st(n){for(var t=-1,e=Ae(n),r=e.length,u={};++t<r;){var a=e[t];u[n[a]]=a}return u}function vt(n,t,e,r,u,a){var o=e===k;if(typeof e=="function"&&!o){e=nt.createCallback(e,r,2);var i=e(n,t);if(typeof i!="undefined")return!!i}if(n===t)return 0!==n||1/n==1/t;