Fix minified compat/modern builds.

This commit is contained in:
John-David Dalton
2014-03-10 09:34:13 -07:00
parent 0bdb643e14
commit a51c6a7670
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ case ot:case at:return n==Lr(t)}if(i=l==J,!i){var f=Zr.call(n,"__wrapped__"),c=Z
var s=0,a=true;if(u.push(n),o.push(t),i){if(l=n.length,s=t.length,(a=s==l)||e)for(;s--;)if(i=l,f=t[s],e)for(;i--&&!(a=bt(n[i],f,r,e,u,o)););else if(!(a=bt(n[s],f,r,e,u,o)))break}else gt(t,function(t,i,l){return Zr.call(l,i)?(s++,a=Zr.call(n,i)&&bt(n[i],t,r,e,u,o)):void 0},gr),a&&!e&&gt(n,function(n,t,r){return Zr.call(r,t)?a=-1<--s:void 0},gr);return u.pop(),o.pop(),a}function _t(n,t,r,e,u){(Ee(t)?st:mt)(t,function(t,o){var a,i,l=t,f=n[o];if(t&&((i=Ee(t))||Ae(t))){for(l=e.length;l--;)if(a=e[l]==t){f=u[l];
break}if(!a){var c;r&&(l=r(f,t),c=typeof l!="undefined")&&(f=l),c||(f=i?Ee(f)?f:[]:Ae(f)?f:{}),e.push(t),u.push(f),c||_t(f,t,r,e,u)}}else r&&(l=r(f,t),typeof l=="undefined"&&(l=t)),typeof l!="undefined"&&(f=l);n[o]=f})}function wt(n,t){return n+Vr(he()*(t-n+1))}function xt(n,e,u){var o=n?n.length:0;if(!o)return[];var a=-1,i=At(),l=!e&&i===t,f=l&&_e&&200<=o,l=l&&!f,c=[];if(f)var s=_e(),i=r;else s=u&&!e?[]:c;n:for(;++a<o;){var p=n[a],h=u?u(p,a,n):p;if(l){for(var g=s.length;g--;)if(s[g]===h)continue n;
u&&s.push(h),c.push(p)}else e?a&&s===h||(s=h,c.push(p)):0>i(s,h)&&((u||f)&&s.push(h),c.push(p))}return c}function Ct(n,t){for(var r=-1,e=t(n),u=e.length,o=kr(u);++r<u;)o[r]=n[e[r]];return o}function jt(n,t,r){for(var e=t.length,u=-1,o=fe(r.length-e,0),a=-1,i=n.length,l=kr(o+i);++a<i;)l[a]=n[a];for(;++u<e;)l[t[u]]=r[u];for(;o--;)l[a++]=r[u++];return l}function kt(n,t){return function(r,e,o){var a=t?[[],[]]:{};if(e=u.createCallback(e,o,3),Ee(r)){o=-1;for(var i=r.length;++o<i;){var l=r[o];n(a,l,e(l,o,r),r)
}}else st(r,function(t,r,u){n(a,t,e(t,r,u),u)});return a}}function Ot(n,t,r){return n=n.length,t=+t||0,n<t?(t-=n,r=null==r?"":Lr(r),dr(r,Kr(t/r.length)).slice(0,t)):""}function Et(n,t,r,e,u,o,a,i){var l=t&w,c=t&x,s=t&k,p=t&O;if(!c&&!fr(n))throw new Wr;s&&!u.length&&(t&=~k,s=u=false),p&&!o.length&&(t&=~O,p=o=false);var h=!c&&n[A];return h&&true!==h?(h=Pt(h),h[4]&&(h[4]=Pt(h[4])),h[5]&&(h[5]=Pt(h[5])),typeof r=="number"&&(h[2]=r),n=h[1]&w,l&&!n&&(h[3]=e),!l&&n&&(t|=j),s&&(h[4]?Gr.apply(h[4],u):h[4]=u),p&&(h[5]?te.apply(h[5],o):h[5]=o),h[1]|=t,Et.apply(null,h)):(null==r?r=c?0:n.length:0>r&&(r=0),s&&(a=[]),p&&(i=[]),h=[n,t,r,e,u,o,a,i],t==w||t==(w|k)?f(h):X(h))
}}else st(r,function(t,r,u){n(a,t,e(t,r,u),u)});return a}}function Ot(n,t,r){return n=n.length,t=+t||0,n<t?(t-=n,r=null==r?" ":Lr(r),dr(r,Kr(t/r.length)).slice(0,t)):""}function Et(n,t,r,e,u,o,a,i){var l=t&w,c=t&x,s=t&k,p=t&O;if(!c&&!fr(n))throw new Wr;s&&!u.length&&(t&=~k,s=u=false),p&&!o.length&&(t&=~O,p=o=false);var h=!c&&n[A];return h&&true!==h?(h=Pt(h),h[4]&&(h[4]=Pt(h[4])),h[5]&&(h[5]=Pt(h[5])),typeof r=="number"&&(h[2]=r),n=h[1]&w,l&&!n&&(h[3]=e),!l&&n&&(t|=j),s&&(h[4]?Gr.apply(h[4],u):h[4]=u),p&&(h[5]?te.apply(h[5],o):h[5]=o),h[1]|=t,Et.apply(null,h)):(null==r?r=c?0:n.length:0>r&&(r=0),s&&(a=[]),p&&(i=[]),h=[n,t,r,e,u,o,a,i],t==w||t==(w|k)?f(h):X(h))
}function At(){var n=(n=u.indexOf)===Tt?t:n;return n}function St(n){return typeof n=="function"&&Ur.test(Xr.call(n))}function It(n){var t,r;return!n||qr.call(n)!=ut||!Zr.call(n,"constructor")&&(t=n.constructor,fr(t)&&!(t instanceof t))||!be.argsClass&&ir(n)||!be.nodeClass&&p(n)?false:be.ownLast?(gt(n,function(n,t,e){return r=Zr.call(e,t),false},gr),false!==r):(gt(n,function(n,t){r=t},gr),typeof r=="undefined"||Zr.call(n,r))}function Rt(n){for(var t=-1,r=gr(n),e=r.length,u=[];++t<e;){var o=r[t];Zr.call(n,o)&&u.push(o)
}return u}function Nt(n,t,r){if(typeof t!="number"&&null!=t){var e=-1,o=n?n.length:0,a=0;for(t=u.createCallback(t,r,3);++e<o&&t(n[e],e,n);)a++}else if(a=t,null==a||r)return n?n[0]:_;return Pt(n,0,0<a?a:0)}function Tt(n,r,e){var u=n?n.length:0;if(typeof e=="number")e=0>e?fe(0,u+e):e||0;else if(e)return e=$t(n,r),u&&n[e]===r?e:-1;return t(n,r,e)}function Lt(n,t,r){var e=n?n.length:0;if(typeof t!="number"&&null!=t){var o=e,a=0;for(t=u.createCallback(t,r,3);o--&&t(n[o],o,n);)a++}else a=null==t||r?1:t;
return a=e-a,Pt(n,0,0<a?a:0)}function Wt(n,t,r){var e=n?n.length:0;if(typeof t!="number"&&null!=t){var o=e,a=0;for(t=u.createCallback(t,r,3);o--&&t(n[o],o,n);)a++}else if(a=t,null==a||r)return n?n[e-1]:_;return a=e-a,Pt(n,0<a?a:0)}function Ft(n,t,r){if(typeof t!="number"&&null!=t){var e=-1,o=n?n.length:0,a=0;for(t=u.createCallback(t,r,3);++e<o&&t(n[e],e,n);)a++}else a=null==t||r?1:0<t?t:0;return Pt(n,a)}function Pt(n,t,r){var e=-1,u=n?n.length:0;for(typeof t=="undefined"?t=0:0>t?t=fe(u+t,0):t>u&&(t=u),typeof r=="undefined"?r=u:0>r?r=fe(u+r,0):r>u&&(r=u),u=r-t||0,r=kr(u);++e<u;)r[e]=n[t+e];
@@ -65,5 +65,5 @@ r=r.slice(0,null==i?o:i)}}else n.indexOf(u,o)!=o&&(u=r.lastIndexOf(u),-1<u&&(r=r
},u.take=Nt,u.takeRight=Wt,u.takeRightWhile=Wt,u.takeWhile=Nt,u.head=Nt,mt(u,function(n,t){var r="sample"!==t;u.prototype[t]||(u.prototype[t]=function(t,e){var u=this.__chain__,a=n(this.__wrapped__,t,e);return u||null!=t&&(!e||r&&typeof t=="function")?new o(a,u):a})}),u.VERSION=E,u.prototype.chain=function(){return this.__chain__=true,this},u.prototype.toString=function(){return Lr(this.__wrapped__)},u.prototype.value=qt,u.prototype.valueOf=qt,st(["join","pop","shift"],function(n){var t=Fr[n];u.prototype[n]=function(){var n=this.__chain__,r=t.apply(this.__wrapped__,arguments);
return n?new o(r,n):r}}),st(["push","reverse","sort","unshift"],function(n){var t=Fr[n];u.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),st(["concat","splice"],function(n){var t=Fr[n];u.prototype[n]=function(){return new o(t.apply(this.__wrapped__,arguments),this.__chain__)}}),be.spliceObjects||st(["pop","shift","splice"],function(n){var t=Fr[n],r="splice"==n;u.prototype[n]=function(){var n=this.__chain__,e=this.__wrapped__,u=t.apply(e,arguments);return 0===e.length&&delete e[0],n||r?new o(u,n):u
}}),u}var _,w=1,x=2,C=4,j=8,k=16,O=32,E="2.4.1",A="__lodash@"+E+"__",S=0,I=/\b__p\+='';/g,R=/\b(__p\+=)''\+/g,N=/(__e\(.*?\)|\b__t\))\+'';/g,T=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,W=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,P=/<%=([\s\S]+?)%>/g,$=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,D=/\w*$/,z=/^\s*function[ \n\r\t]+\w/,B=/^0[xX]/,q=/[\xC0-\xFF]/g,U=/($^)/,K=/[.*+?^${}()|[\]\\]/g,M=/\bthis\b/,V=/['\n\r\t\u2028\u2029\\]/g,X=/[a-zA-Z0-9][a-z0-9]*/g,Y=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",Z="Array Boolean Date Error Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),G="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),H="[object Arguments]",J="[object Array]",Q="[object Boolean]",nt="[object Date]",tt="[object Error]",rt="[object Function]",et="[object Number]",ut="[object Object]",ot="[object RegExp]",at="[object String]",it={};
it[rt]=false,it[H]=it[J]=it[Q]=it[nt]=it[et]=it[ut]=it[ot]=it[at]=true;var lt={leading:false,maxWait:0,trailing:false},ft={configurable:false,enumerable:false,value:null,writable:false},ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},st={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pt={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"AE",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss","\xd7":"","\xf7":""},ht={"function":true,object:true},gt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},vt=ht[typeof window]&&window||this,yt=ht[typeof exports]&&exports&&!exports.nodeType&&exports,ht=ht[typeof module]&&module&&!module.nodeType&&module,mt=yt&&ht&&typeof global=="object"&&global;
it[rt]=false,it[H]=it[J]=it[Q]=it[nt]=it[et]=it[ut]=it[ot]=it[at]=true;var lt={leading:false,maxWait:0,trailing:false},ft={configurable:false,enumerable:false,value:null,writable:false},ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},st={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pt={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"AE",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss","\xd7":" ","\xf7":" "},ht={"function":true,object:true},gt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},vt=ht[typeof window]&&window||this,yt=ht[typeof exports]&&exports&&!exports.nodeType&&exports,ht=ht[typeof module]&&module&&!module.nodeType&&module,mt=yt&&ht&&typeof global=="object"&&global;
!mt||mt.global!==mt&&mt.window!==mt&&mt.self!==mt||(vt=mt);var mt=ht&&ht.exports===yt&&yt,dt=b();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(vt._=dt, define(function(){return dt})):yt&&ht?mt?(ht.exports=dt)._=dt:yt._=dt:vt._=dt}).call(this);