diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-02 21:47:25 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-02 21:47:25 +0200 |
commit | aed1ccac95072ef3bacfc2563800db39609bef9d (patch) | |
tree | 9287d0f304595d79843bfb13a5fca5a496aec1b4 /public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js | |
parent | 5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace (diff) | |
download | hmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.tar.gz hmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.tar.bz2 hmnoweb-aed1ccac95072ef3bacfc2563800db39609bef9d.zip |
Precompile assets and check them into vc.deploy-20180902
Since we disabled asset compilation in production, we need to precompile them
on the development machine. We check the precompiled assets into version control
so the will be deployed with the updated code.
Diffstat (limited to 'public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js')
-rw-r--r-- | public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js b/public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js new file mode 100644 index 0000000..c2043e3 --- /dev/null +++ b/public/assets/refinery/serializelist-0ebebab4562223d3f0db7954f7406910.js @@ -0,0 +1,15 @@ +/** + * jQuery Serialize List + * Copyright (c) 2009 Mike Botsko, Botsko.net LLC + * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + * Copyright notice and license must remain intact for legal use + * Version .2 + * + * Serialize an unordered or ordered list item. Optional ability + * to determine which attributes are included. The serialization + * will be read by PHP as a multidimensional array which you may + * use for saving state. + * + * http://github.com/botskonet/jquery.serialize-list + */ +!function(h){h.fn.serializelist=function(e){var i,r,a,t={attributes:["id"],allow_nest:!0,prepend:"ul",att_regex:!1,is_child:!1},l=h.extend(t,e),s=l.attributes,c="",d=function(e,t){if(!l.att_regex)return t;for(r in l.att_regex)if(l.att_regex[r].att===e)return t.replace(l.att_regex[r].regex,"")};return l.is_child||(l.prepend="&"+l.prepend),this.each(function(n,e){h(e).children().each(function(e,t){if(l.allow_nest||1<s.length)for(var r=0;r<s.length;r++)i=d(s[r],h(t).attr(s[r])),c+=l.prepend+"["+n+"]["+e+"]["+s[r]+"]="+i;else i=d(s[0],h(t).attr(s[0])),c+=l.prepend+"["+n+"]["+e+"]="+i;l.allow_nest&&(a=l.prepend+"["+n+"]["+e+"][children]",h(t).children().each(function(){"UL"!=this.tagName&&"OL"!=this.tagName||(c+=h(this).serializelist({prepend:a,is_child:!0}))})),e++})}),c}}(jQuery);
\ No newline at end of file |