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

View File

@@ -6,7 +6,7 @@
;!function(n){function t(n,t,r){r=(r||0)-1;for(var e=n?n.length:0;++r<e;)if(n[r]===t)return r;return-1}function r(n,r){var e=typeof r;if(n=n.k,"boolean"==e||r==d)return n[r];"number"!=e&&"string"!=e&&(e="object");var u="number"==e?r:O+r;return n=n[e]||(n[e]={}),"object"==e?n[u]&&-1<t(n[u],r)?0:-1:n[u]?0:-1}function e(n){var t=this.k,r=typeof n;if("boolean"==r||n==d)t[n]=y;else{"number"!=r&&"string"!=r&&(r="object");var e="number"==r?n:O+n,t=t[r]||(t[r]={});"object"==r?(t[e]||(t[e]=[])).push(n):t[e]=y
}}function u(n){return n.charCodeAt(0)}function o(n,t){var r=n.m,e=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 r<e?-1:1}function a(n){var t=-1,r=n.length,u=n[0],o=n[r-1];if(u&&typeof u=="object"&&o&&typeof o=="object")return b;for(u=c(),u["false"]=u["null"]=u["true"]=u.undefined=b,o=c(),o.b=n,o.k=u,o.push=e;++t<r;)o.push(n[t]);return o}function i(n){return"\\"+nt[n]}function f(){return _.pop()||[]}function c(){return j.pop()||{a:"",b:d,c:"",k:d,l:d,"false":b,d:"",m:0,e:"",leading:b,f:"",maxWait:0,"null":b,number:d,object:d,push:d,g:d,string:d,h:"",trailing:b,"true":b,undefined:b,i:b,j:b,n:d}
}function l(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function p(){}function s(n){n.length=0,_.length<S&&_.push(n)}function g(n){var t=n.k;t&&g(t),n.b=n.k=n.l=n.object=n.number=n.string=n.n=d,j.length<S&&j.push(n)}function v(n,t,r){t||(t=0),typeof r=="undefined"&&(r=n?n.length:0);var e=-1;r=r-t||0;for(var u=Array(0>r?0:r);++e<r;)u[e]=n[t+e];return u}function h(e){function _(n){return n&&typeof n=="object"&&!Dr(n)&&sr.call(n,"__wrapped__")?n:new j(n)}function j(n){this.__wrapped__=n
}function S(n,t,r,e){e=(e||0)-1;for(var u=n?n.length:0,o=[];++e<u;){var a=n[e];a&&typeof a=="object"&&(Dr(a)||lt(a))?gr.apply(o,t?a:S(a)):r||o.push(a)}return o}function nt(n,e,u){var o=-1,i=it(),c=n?n.length:0,l=[],p=!e&&c>=E&&i===t,v=u||p?f():l;if(p){var h=a(v);h?(i=r,v=h):(p=b,v=u?v:(s(v),l))}for(;++o<c;){var h=n[o],m=u?u(h,o,n):h;(e?!o||v[v.length-1]!==m:0>i(v,m))&&((u||p)&&v.push(m),l.push(h))}return p?(s(v.b),g(v)):u&&s(v),l}function tt(n,t,r,e){function u(){var e=arguments,c=a?this:t;return o||(n=t[i]),r.length&&(e=e.length?(e=Sr.call(e),f?e.concat(r):r.concat(e)):r),this instanceof u?(c=ot(n.prototype),e=n.apply(c,e),mt(e)?e:c):n.apply(c,e)
}function S(n,t,r,e){e=(e||0)-1;for(var u=n?n.length:0,o=[];++e<u;){var a=n[e];a&&typeof a=="object"&&(Dr(a)||lt(a))?gr.apply(o,t?a:S(a,t,r)):r||o.push(a)}return o}function nt(n,e,u){var o=-1,i=it(),c=n?n.length:0,l=[],p=!e&&c>=E&&i===t,v=u||p?f():l;if(p){var h=a(v);h?(i=r,v=h):(p=b,v=u?v:(s(v),l))}for(;++o<c;){var h=n[o],m=u?u(h,o,n):h;(e?!o||v[v.length-1]!==m:0>i(v,m))&&((u||p)&&v.push(m),l.push(h))}return p?(s(v.b),g(v)):u&&s(v),l}function tt(n,t,r,e){function u(){var e=arguments,c=a?this:t;return o||(n=t[i]),r.length&&(e=e.length?(e=Sr.call(e),f?e.concat(r):r.concat(e)):r),this instanceof u?(c=ot(n.prototype),e=n.apply(c,e),mt(e)?e:c):n.apply(c,e)
}var o=ht(n),a=!r,i=t;if(a){var f=e;r=t}else if(!o){if(!e)throw new nr;t=n}return u}function et(){var n=c(),t=x.o;n.g=W,n.b=n.c=n.f=n.h="",n.e="r",n.i=y,n.j=!!t;for(var r,e=0;r=arguments[e];e++)for(var u in r)n[u]=r[u];e=n.a,n.d=/^[^,]+/.exec(e)[0],r=Ut,e="return function("+e+"){",u="var m,r="+n.d+",C="+n.e+";if(!r)return C;"+n.h+";",n.b?(u+="var s=r.length;m=-1;if("+n.b+"){",Pr.unindexedChars&&(u+="if(q(r)){r=r.split('')}"),u+="while(++m<s){"+n.f+";}}else{"):Pr.nonEnumArgs&&(u+="var s=r.length;m=-1;if(s&&n(r)){while(++m<s){m+='';"+n.f+";}}else{"),Pr.enumPrototypes&&(u+="var E=typeof r=='function';"),Pr.enumErrorProps&&(u+="var D=r===j||r instanceof Error;");
var o=[];if(Pr.enumPrototypes&&o.push('!(E&&m=="prototype")'),Pr.enumErrorProps&&o.push('!(D&&(m=="message"||m=="name"))'),n.i&&n.j)u+="var A=-1,B=z[typeof r]&&t(r),s=B?B.length:0;while(++A<s){m=B[A];",o.length&&(u+="if("+o.join("&&")+"){"),u+=n.f+";",o.length&&(u+="}"),u+="}";else if(u+="for(m in r){",n.i&&o.push("l.call(r, m)"),o.length&&(u+="if("+o.join("&&")+"){"),u+=n.f+";",o.length&&(u+="}"),u+="}",Pr.nonEnumShadows){for(u+="if(r!==y){var h=r.constructor,p=r===(h&&h.prototype),e=r===H?G:r===j?i:J.call(r),v=w[e];",k=0;7>k;k++)u+="m='"+n.g[k]+"';if((!(p&&v[m])&&l.call(r,m))",n.i||(u+="||(!v[m]&&r[m]!==y[m])"),u+="){"+n.f+"}";
u+="}"}return(n.b||Pr.nonEnumArgs)&&(u+="}"),u+=n.c+";return C",r=r("i,j,l,indicatorObject,n,o,q,t,u,y,z,w,G,H,J",e+u+"}"),g(n),r(K,rr,sr,w,lt,Dr,dt,t,_,er,Z,Nr,X,ur,yr)}function ot(n){return mt(n)?br(n):{}}function at(n){return Wr[n]}function it(){var n=(n=_.indexOf)===Pt?t:n;return n}function ft(n){var t,r;return!n||yr.call(n)!=V||(t=n.constructor,ht(t)&&!(t instanceof t))||!Pr.argsClass&&lt(n)||!Pr.nodeClass&&l(n)?b:Pr.ownLast?(Mr(n,function(n,t,e){return r=sr.call(e,t),b}),r!==false):(Mr(n,function(n,t){r=t