Avoid using a unique key for keyPrefix as it causes issues when lodash is modularized into individual npm packages. [closes #446]

This commit is contained in:
John-David Dalton
2014-01-09 01:29:05 -08:00
parent cb22fb54e8
commit a36a5363b4
7 changed files with 38 additions and 38 deletions

View File

@@ -59,6 +59,6 @@ r=w(a&&a.prototype)}return t&&(t=e.createCallback(t,u,4),(o?lt:Ht)(n,function(n,
},e.uniqueId=function(n){var t=++E;return mr(null==n?"":n)+t},e.all=Pt,e.any=Mt,e.detect=qt,e.findWhere=qt,e.foldl=Wt,e.foldr=zt,e.include=Tt,e.inject=Wt,ar(function(){var n={};return Ht(e,function(t,r){e.prototype[r]||(n[r]=t)}),n}(),false),e.first=Ct,e.last=function(n,t,r){var u=0,o=n?n.length:0;if(typeof t!="number"&&null!=t){var a=o;for(t=e.createCallback(t,r,3);a--&&t(n[a],a,n);)u++}else if(u=t,null==u||r)return n?n[o-1]:C;return u=o-u,Et(n,0<u?u:0)},e.sample=function(n,t,r){return n&&typeof n.length!="number"?n=er(n):ne.unindexedChars&&rr(n)&&(n=n.split("")),null==t||r?n?n[gt(0,n.length-1)]:C:(n=Kt(n),n.length=Vr(Ur(0,t),n.length),n)
},e.take=Ct,e.head=Ct,Ht(e,function(n,t){var r="sample"!==t;e.prototype[t]||(e.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})}),e.VERSION="2.4.1",e.prototype.chain=function(){return this.__chain__=true,this},e.prototype.toString=function(){return mr(this.__wrapped__)},e.prototype.value=Rt,e.prototype.valueOf=Rt,lt(["join","pop","shift"],function(n){var t=br[n];e.prototype[n]=function(){var n=this.__chain__,r=t.apply(this.__wrapped__,arguments);
return n?new o(r,n):r}}),lt(["push","reverse","sort","unshift"],function(n){var t=br[n];e.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),lt(["concat","splice"],function(n){var t=br[n];e.prototype[n]=function(){return new o(t.apply(this.__wrapped__,arguments),this.__chain__)}}),ne.spliceObjects||lt(["pop","shift","splice"],function(n){var t=br[n],r="splice"==n;e.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
}}),e}var C,k=[],O=[],E=0,S=+new Date+"",A=75,I=40,N=" \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",R=/\b__p\+='';/g,T=/\b(__p\+=)''\+/g,P=/(__e\(.*?\)|\b__t\))\+'';/g,D=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,F=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,L=/<%=([\s\S]+?)%>/g,B=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,W=/\w*$/,z=/^\s*function[ \n\r\t]+\w/,K=/^0[xX]/,M=/($^)/,U=/\bthis\b/,V=/['\n\r\t\u2028\u2029\\]/g,X="Array Boolean Date Error Function Math Number Object RegExp 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]",Y="[object Date]",Z="[object Error]",nt="[object Function]",tt="[object Number]",rt="[object Object]",et="[object RegExp]",ut="[object String]",ot={};
}}),e}var C,k=[],O=[],E=0,S="__1335248838000__",A=75,I=40,N=" \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",R=/\b__p\+='';/g,T=/\b(__p\+=)''\+/g,P=/(__e\(.*?\)|\b__t\))\+'';/g,D=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,F=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,L=/<%=([\s\S]+?)%>/g,B=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,W=/\w*$/,z=/^\s*function[ \n\r\t]+\w/,K=/^0[xX]/,M=/($^)/,U=/\bthis\b/,V=/['\n\r\t\u2028\u2029\\]/g,X="Array Boolean Date Error Function Math Number Object RegExp 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]",Y="[object Date]",Z="[object Error]",nt="[object Function]",tt="[object Number]",rt="[object Object]",et="[object RegExp]",ut="[object String]",ot={};
ot[nt]=false,ot[H]=ot[J]=ot[Q]=ot[Y]=ot[tt]=ot[rt]=ot[et]=ot[ut]=true;var at={leading:false,maxWait:0,trailing:false},it={configurable:false,enumerable:false,value:null,writable:false},lt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ft={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ct={"boolean":false,"function":true,object:true,number:false,string:false,undefined:false},pt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},st=ct[typeof window]&&window||this,ht=ct[typeof exports]&&exports&&!exports.nodeType&&exports,gt=ct[typeof global]&&global;
!gt||gt.global!==gt&&gt.window!==gt||(st=gt);var vt=(gt=ct[typeof module]&&module&&!module.nodeType&&module)&&gt.exports===ht&&ht,yt=x();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(st._=yt, define(function(){return yt})):ht&&gt?vt?(gt.exports=yt)._=yt:ht._=yt:st._=yt}).call(this);