summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/jquery-cokie
diff options
context:
space:
mode:
authorLizi <li.zi30@zte.com.cn>2018-01-18 09:24:19 +0000
committerLizi <li.zi30@zte.com.cn>2018-01-18 09:32:07 +0000
commite02cfb1940c721efa29d7766763e5d5beaf46189 (patch)
tree4b813c85bc4296733c5ec4a16169d0d8eada7176 /common/src/main/webapp/thirdparty/jquery-cokie
parent38fda27a24d9ceac0d6499fe60396954e647f2ca (diff)
Remove the redundancy packages
Change-Id: I1c04ad98a1fc0351b69c125c7afc8b6ee8ad64af Issue-ID: AAI-591 Signed-off-by: Lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'common/src/main/webapp/thirdparty/jquery-cokie')
-rw-r--r--common/src/main/webapp/thirdparty/jquery-cokie/jquery.cokie.min.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/src/main/webapp/thirdparty/jquery-cokie/jquery.cokie.min.js b/common/src/main/webapp/thirdparty/jquery-cokie/jquery.cokie.min.js
deleted file mode 100644
index 0f1b501..0000000
--- a/common/src/main/webapp/thirdparty/jquery-cokie/jquery.cokie.min.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/*!
- * jQuery Cookie Plugin v1.3.1
- * https://github.com/carhartl/jquery-cookie
- * Plugin file name changed to jquery.cokie.min to prevent blocking by ModSecurity module
- *
- * Copyright 2013 Klaus Hartl
- * Released under the MIT license
- */
-(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(e){var a=/\+/g;function d(g){return g}function b(g){return decodeURIComponent(g.replace(a," "))}function f(g){if(g.indexOf('"')===0){g=g.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{return c.json?JSON.parse(g):g}catch(h){}}var c=e.cookie=function(p,o,u){if(o!==undefined){u=e.extend({},c.defaults,u);if(typeof u.expires==="number"){var q=u.expires,s=u.expires=new Date();s.setDate(s.getDate()+q)}o=c.json?JSON.stringify(o):String(o);return(document.cookie=[c.raw?p:encodeURIComponent(p),"=",c.raw?o:encodeURIComponent(o),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join(""))}var g=c.raw?d:b;var r=document.cookie.split("; ");var v=p?undefined:{};for(var n=0,k=r.length;n<k;n++){var m=r[n].split("=");var h=g(m.shift());var j=g(m.join("="));if(p&&p===h){v=f(j);break}if(!p){v[h]=f(j)}}return v};c.defaults={};e.removeCookie=function(h,g){if(e.cookie(h)!==undefined){e.cookie(h,"",e.extend({},g,{expires:-1}));return true}return false}})); \ No newline at end of file