diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-05-09 22:02:56 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-05-09 22:03:03 +0800 |
commit | ea506ea4aa4306bd594d747455291b18a030aa4e (patch) | |
tree | c88180e409e01ae08bc4f26d3f57bb99098a15f7 /usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js | |
parent | b92099db10112c4a260485354dbf10176383561c (diff) |
add angularJs component
Change-Id: I41eb4950a7ee3b1b4f306681824f6035c624d485
Issue-ID: USECASEUI-113
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js')
-rw-r--r-- | usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js b/usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js new file mode 100644 index 00000000..6a1bab08 --- /dev/null +++ b/usecaseui-common/src/main/webapp/app/fusion/external/angular-1.4.8/angular-cookies.min.js @@ -0,0 +1,9 @@ +/* + AngularJS v1.4.8 + (c) 2010-2015 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(p,c,n){'use strict';function l(b,a,g){var d=g.baseHref(),k=b[0];return function(b,e,f){var g,h;f=f||{};h=f.expires;g=c.isDefined(f.path)?f.path:d;c.isUndefined(e)&&(h="Thu, 01 Jan 1970 00:00:00 GMT",e="");c.isString(h)&&(h=new Date(h));e=encodeURIComponent(b)+"="+encodeURIComponent(e);e=e+(g?";path="+g:"")+(f.domain?";domain="+f.domain:"");e+=h?";expires="+h.toUTCString():"";e+=f.secure?";secure":"";f=e.length+1;4096<f&&a.warn("Cookie '"+b+"' possibly not set or overflowed because it was too large ("+ +f+" > 4096 bytes)!");k.cookie=e}}c.module("ngCookies",["ng"]).provider("$cookies",[function(){var b=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(a,g){return{get:function(d){return a()[d]},getObject:function(d){return(d=this.get(d))?c.fromJson(d):d},getAll:function(){return a()},put:function(d,a,m){g(d,a,m?c.extend({},b,m):b)},putObject:function(d,b,a){this.put(d,c.toJson(b),a)},remove:function(a,k){g(a,n,k?c.extend({},b,k):b)}}}]}]);c.module("ngCookies").factory("$cookieStore", +["$cookies",function(b){return{get:function(a){return b.getObject(a)},put:function(a,c){b.putObject(a,c)},remove:function(a){b.remove(a)}}}]);l.$inject=["$document","$log","$browser"];c.module("ngCookies").provider("$$cookieWriter",function(){this.$get=l})})(window,window.angular); +//# sourceMappingURL=angular-cookies.min.js.map |