Clarify a bit more the order is not guaranteed notes on object iteration.

Former-commit-id: bfe3033325bc941a03948fe41056634663a10989
This commit is contained in:
John-David Dalton
2013-08-14 23:30:29 -07:00
parent ab66e77740
commit 0669a053db
8 changed files with 71 additions and 77 deletions

View File

@@ -22,7 +22,7 @@ r+="}"}return(n.b||$e.nonEnumArgs)&&(r+="}"),r+=n.c+";return E",t=t("d,j,k,m,o,p
}}else t=!t&&_t(n)?u:_.createCallback(t,e,3),Ue(n,function(n,e,u){e=t(n,e,u),e>r&&(r=e,o=n)});return o}function It(n,t,e,r){var u=3>arguments.length;if(t=Y(t,r,4),ze(n)){var o=-1,a=n.length;for(u&&(e=n[++o]);++o<a;)e=t(e,n[o],o,n)}else Ue(n,function(n,r,o){e=u?(u=b,n):t(e,n,r,o)});return e}function Bt(n,t,e,r){var u=3>arguments.length;return t=Y(t,r,4),Ot(n,function(n,r,o){e=u?(u=b,n):t(e,n,r,o)}),e}function Pt(n,t,e){var r;if(t=_.createCallback(t,e,3),ze(n)){e=-1;for(var u=n.length;++e<u&&!(r=t(n[e],e,n)););}else Ue(n,function(n,e,u){return!(r=t(n,e,u))
});return!!r}function Nt(n){var r=-1,u=lt(),o=n?n.length:0,i=Z(arguments,m,m,1),f=[],c=o>=E&&u===t;if(c){var l=a(i);l?(u=e,i=l):c=b}for(;++r<o;)l=n[r],0>u(i,l)&&f.push(l);return c&&g(i),f}function Rt(n,t,e){if(n){var r=0,u=n.length;if(typeof t!="number"&&t!=d){var o=-1;for(t=_.createCallback(t,e,3);++o<u&&t(n[o],o,n);)r++}else if(r=t,r==d||e)return n[0];return h(n,0,Ae(Se(0,r),u))}}function Ft(n,e,r){if(typeof r=="number"){var u=n?n.length:0;r=0>r?Se(0,u+r):r||0}else if(r)return r=$t(n,e),n[r]===e?r:-1;
return n?t(n,e,r):-1}function Dt(n,t,e){if(typeof t!="number"&&t!=d){var r=0,u=-1,o=n?n.length:0;for(t=_.createCallback(t,e,3);++u<o&&t(n[u],u,n);)r++}else r=t==d||e?1:Se(0,t);return h(n,r)}function $t(n,t,e,r){var u=0,o=n?n.length:u;for(e=e?_.createCallback(e,r,1):Gt,t=e(t);u<o;)r=u+o>>>1,e(n[r])<t?u=r+1:o=r;return u}function zt(n,t,e,r){return typeof t!="boolean"&&t!=d&&(r=e,e=r&&r[t]===n?y:t,t=b),e!=d&&(e=_.createCallback(e,r,3)),ut(n,t,e)}function Lt(){for(var n=1<arguments.length?arguments:arguments[0],t=-1,e=n?At(rr(n,"length")):0,r=Ht(0>e?0:e);++t<e;)r[t]=rr(n,t);
return r}function Tt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var o=n[e];t?u[o]=t[e]:o&&(u[o[0]]=o[1])}return u}function qt(n,t){return at(n,17,Pe.call(arguments,2),d,t)}function Kt(n,t,e){function r(){o(),(h||p!==t)&&(l=+new Vt,i=n.apply(f,a))}function u(){var t=h&&(!v||1<c);o(),t&&(p!==false&&(l=+new Vt),i=n.apply(f,a))}function o(){le(s),le(g),c=0,s=g=d}var a,i,f,c=0,l=0,p=b,s=d,g=d,h=m;if(!mt(n))throw new ee;if(t=Se(0,t||0),e===m)var v=m,h=b;else dt(e)&&(v=e.leading,p="maxWait"in e&&Se(t,e.maxWait||0),h="trailing"in e?e.trailing:h);
return r}function Tt(n,t){for(var e=-1,r=n?n.length:0,u={};++e<r;){var o=n[e];t?u[o]=t[e]:o&&(u[o[0]]=o[1])}return u}function qt(n,t){return at(n,17,Pe.call(arguments,2),d,t)}function Kt(n,t,e){function r(){o(),(h||p!==t)&&(l=+new Vt,i=n.apply(f,a))}function u(){var t=h&&(!v||1<c);o(),t&&(l=+new Vt,i=n.apply(f,a))}function o(){le(s),le(g),c=0,s=g=d}var a,i,f,c=0,l=0,p=b,s=d,g=d,h=m;if(!mt(n))throw new ee;if(t=Se(0,t||0),e===m)var v=m,h=b;else dt(e)&&(v=e.leading,p="maxWait"in e&&Se(t,e.maxWait||0),h="trailing"in e?e.trailing:h);
return function(){if(a=arguments,f=this,c++,le(g),p===false)v&&2>c&&(i=n.apply(f,a));else{var e=+new Vt;!s&&!v&&(l=e);var o=p-(e-l);0<o?s||(s=de(r,o)):(le(s),s=d,l=e,i=n.apply(f,a))}return t!==p&&(g=de(u,t)),i}}function Wt(n){if(!mt(n))throw new ee;var t=Pe.call(arguments,1);return de(function(){n.apply(y,t)},1)}function Gt(n){return n}function Jt(n,t){var e=n,r=!t||mt(e);t||(e=w,t=n,n=_),Et(vt(t),function(u){var o=n[u]=t[u];r&&(e.prototype[u]=function(){var t=this.__wrapped__,r=[t];return ve.apply(r,arguments),r=o.apply(n,r),t&&typeof t=="object"&&t===r?this:new e(r)
})})}function Mt(){return this.__wrapped__}r=r?et.defaults(n.Object(),r,et.pick(n,z)):n;var Ht=r.Array,Ut=r.Boolean,Vt=r.Date,Qt=r.Function,Xt=r.Math,Yt=r.Number,Zt=r.Object,ne=r.RegExp,te=r.String,ee=r.TypeError,re=[],ue=r.Error.prototype,oe=Zt.prototype,ae=te.prototype,ie=r._,fe=ne("^"+te(oe.valueOf).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),ce=Xt.ceil,le=r.clearTimeout,pe=fe.test(pe=Zt.defineProperty)&&pe,se=Xt.floor,ge=fe.test(ge=Zt.getPrototypeOf)&&ge,he=oe.hasOwnProperty,ve=re.push,ye=oe.propertyIsEnumerable,me=r.setImmediate,de=r.setTimeout,be=re.splice,_e=oe.toString,we=re.unshift,je=fe.test(je=_e.bind)&&je,ke=fe.test(ke=Zt.create)&&ke,xe=fe.test(xe=Ht.isArray)&&xe,Ce=r.isFinite,Ee=r.isNaN,Oe=fe.test(Oe=Zt.keys)&&Oe,Se=Xt.max,Ae=Xt.min,Ie=r.parseInt,Be=Xt.random,Pe=re.slice,Ne=fe.test(r.attachEvent),Re=je&&!/\n|true/.test(je+Ne),Fe={};
Fe[q]=Ht,Fe[K]=Ut,Fe[W]=Vt,Fe[J]=Qt,Fe[H]=Zt,Fe[M]=Yt,Fe[U]=ne,Fe[V]=te;var De={};De[q]=De[W]=De[M]={constructor:m,toLocaleString:m,toString:m,valueOf:m},De[K]=De[V]={constructor:m,toString:m,valueOf:m},De[G]=De[J]=De[U]={constructor:m,toString:m},De[H]={constructor:m},function(){for(var n=L.length;n--;){var t,e=L[n];for(t in De)he.call(De,t)&&!he.call(De[t],e)&&(De[t][e]=b)}}(),w.prototype=_.prototype;var $e=_.support={};!function(){function n(){this.x=1}var t={0:1,length:1},e=[];n.prototype={valueOf:1};