Add getObject and releaseObject to setBindData.

Former-commit-id: d4152ccc078bfa64d62640d89b673057cf9f6a19
This commit is contained in:
John-David Dalton
2013-07-26 19:35:01 -07:00
parent 036c2f6a1c
commit e94ca12f9f
7 changed files with 43 additions and 32 deletions

View File

@@ -4,7 +4,7 @@
* Build: `lodash -o ./dist/lodash.compat.js`
*/
;!function(n){function t(n,t,e){e=(e||0)-1;for(var r=n?n.length:0;++e<r;)if(n[e]===t)return e;return-1}function e(n,e){var r=typeof e;if(n=n.k,"boolean"==r||e==d)return n[e];"number"!=r&&"string"!=r&&(r="object");var u="number"==r?e:x+e;return n=n[r]||(n[r]={}),"object"==r?n[u]&&-1<t(n[u],e)?0:-1:n[u]?0:-1}function r(n){var t=this.k,e=typeof n;if("boolean"==e||n==d)t[n]=m;else{"number"!=e&&"string"!=e&&(e="object");var r="number"==e?n:x+n,t=t[e]||(t[e]={});"object"==e?(t[r]||(t[r]=[])).push(n):t[r]=m
}}function u(n){return n.charCodeAt(0)}function a(n,t){var e=n.m,r=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 e<r?-1:1}function o(n){var t=-1,e=n.length,u=n[0],a=n[e-1];if(u&&typeof u=="object"&&a&&typeof a=="object")return b;for(u=f(),u["false"]=u["null"]=u["true"]=u.undefined=b,a=f(),a.b=n,a.k=u,a.push=r;++t<e;)a.push(n[t]);return a}function i(n){return"\\"+Y[n]}function l(){return _.pop()||[]}function f(){return j.pop()||{a:"",b:d,c:"",k:d,l:d,"false":b,d:"",m:0,e:"",u:d,leading:b,g:"",maxWait:0,"null":b,number:d,y:d,push:d,h:d,string:d,i:"",trailing:b,"true":b,undefined:b,j:b,n:d}
}}function u(n){return n.charCodeAt(0)}function a(n,t){var e=n.m,r=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 e<r?-1:1}function o(n){var t=-1,e=n.length,u=n[0],a=n[e-1];if(u&&typeof u=="object"&&a&&typeof a=="object")return b;for(u=f(),u["false"]=u["null"]=u["true"]=u.undefined=b,a=f(),a.b=n,a.k=u,a.push=r;++t<e;)a.push(n[t]);return a}function i(n){return"\\"+Y[n]}function l(){return _.pop()||[]}function f(){return j.pop()||{a:"",b:d,c:"",k:d,configurable:b,l:d,enumerable:b,"false":b,d:"",m:0,e:"",u:d,leading:b,g:"",maxWait:0,"null":b,number:d,y:d,push:d,h:d,string:d,i:"",trailing:b,"true":b,undefined:b,j:b,n:d,writable:b}
}function c(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function s(){}function p(n){n.length=0,_.length<E&&_.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<E&&j.push(n)}function v(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 h(r){function _(n){return n&&typeof n=="object"&&!Ne(n)&&se.call(n,"__wrapped__")?n:new j(n)}function j(n){this.__wrapped__=n
}function E(n,t,e,r,u){var a=n;if(e){if(a=e(a),typeof a!="undefined")return a;a=n}var o=yt(a);if(o){var i=ye.call(a);if(!Q[i]||!Pe.nodeClass&&c(a))return a;var f=Ne(a)}if(!o||!t)return o?f?v(a):He({},a):a;switch(o=Ie[i],i){case K:case L:return new o(+a);case M:case V:return new o(a);case U:return o(a.source,P.exec(a))}i=!r,r||(r=l()),u||(u=l());for(var s=r.length;s--;)if(r[s]==n)return u[s];return a=f?o(a.length):{},f&&(se.call(n,"index")&&(a.index=n.index),se.call(n,"input")&&(a.input=n.input)),r.push(n),u.push(a),(f?Je:Ue)(n,function(n,o){a[o]=E(n,t,e,r,u)
}),i&&(p(r),p(u)),a}function Y(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"&&(Ne(o)||pt(o))?pe.apply(a,t?o:Y(o,t,e)):e||a.push(o)}return a}function Z(n,t,e,r,u,a){if(e){var o=e(n,t);if(typeof o!="undefined")return!!o}if(n===t)return 0!==n||1/n==1/t;if(n===n&&(!n||!X[typeof n])&&(!t||!X[typeof t]))return b;if(n==d||t==d)return n===t;var i=ye.call(n),f=ye.call(t);if(i==T&&(i=G),f==T&&(f=G),i!=f)return b;switch(i){case K:case L:return+n==+t;case M:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;