diff options
Diffstat (limited to 'js/yui3/querystring-stringify-simple/querystring-stringify-simple-min.js')
-rw-r--r-- | js/yui3/querystring-stringify-simple/querystring-stringify-simple-min.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/yui3/querystring-stringify-simple/querystring-stringify-simple-min.js b/js/yui3/querystring-stringify-simple/querystring-stringify-simple-min.js new file mode 100644 index 000000000..462922255 --- /dev/null +++ b/js/yui3/querystring-stringify-simple/querystring-stringify-simple-min.js @@ -0,0 +1,7 @@ +/* +YUI 3.7.3 (build 5687) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +YUI.add("querystring-stringify-simple",function(e,t){var n=e.namespace("QueryString"),r=encodeURIComponent;n.stringify=function(t,n){var i=[],s=n&&n.arrayKey?!0:!1,o,u,a;for(o in t)if(t.hasOwnProperty(o))if(e.Lang.isArray(t[o]))for(u=0,a=t[o].length;u<a;u++)i.push(r(s?o+"[]":o)+"="+r(t[o][u]));else i.push(r(o)+"="+r(t[o]));return i.join("&")}},"3.7.3",{requires:["yui-base"]}); |