From 15aabbf49f737db61526429c525de3ec5a730964 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 6 Jul 2016 01:15:49 -0400 Subject: [PATCH] Rebuild --- bower.json | 2 +- dark_background_stripes.gif | Bin 54 -> 0 bytes smart-app-banner.js | 42 ++++++++++++++++++------------------ 3 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 dark_background_stripes.gif diff --git a/bower.json b/bower.json index a4c907f..3c21a54 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "smart-app-banner", - "version": "1.0.0", + "version": "1.3.0", "homepage": "https://github.com/glibin/smart-app-banner", "authors": [ "glibin.v@gmail.com" diff --git a/dark_background_stripes.gif b/dark_background_stripes.gif deleted file mode 100644 index bc2a2ea6e61f6b6bf174b9a4e364779e51914ee0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54 zcmZ?wbhEHb
'+this.options.title+"
"+this.options.author+"
"+e+'
'+this.options.button+"";a.body?a.body.appendChild(c):a&&a.addEventListener("DOMContentLoaded",function(){a.body.appendChild(c)});b(".smartbanner-button",c).addEventListener("click",this.install.bind(this),!1);b(".smartbanner-close",c).addEventListener("click",this.close.bind(this),!1)},hide:function(){g.classList.remove("smartbanner-show")},show:function(){g.classList.add("smartbanner-show")},close:function(){this.hide(); -e.set("smartbanner-closed","true",{path:"/",expires:new Date(+new Date+864E5*this.options.daysHidden)})},install:function(){this.hide();e.set("smartbanner-installed","true",{path:"/",expires:new Date(+new Date+864E5*this.options.daysReminder)})},parseAppId:function(){var a=b('meta[name="'+this.appMeta+'"]');if(a)return this.appId="windows"===this.type?a.getAttribute("content"):/app-id=([^\s,]+)/.exec(a.getAttribute("content"))[1]}};f.exports=c},{"component-query":2,"cookie-cutter":3,"get-doc":4,"ua-parser-js":6, -"xtend/mutable":7}],2:[function(c,f,h){function d(b,a){return a.querySelector(b)}h=f.exports=function(b,a){a=a||document;return d(b,a)};h.all=function(b,a){a=a||document;return a.querySelectorAll(b)};h.engine=function(b){if(!b.one)throw Error(".one callback required");if(!b.all)throw Error(".all callback required");d=b.one;h.all=b.all;return h}},{}],3:[function(c,f,h){h=f.exports=function(d){d||(d={});"string"===typeof d&&(d={cookie:d});void 0===d.cookie&&(d.cookie="");return{get:function(b){for(var a= -d.cookie.split(/;\s*/),g=0;g
'+this.options.title+"
"+this.options.author+"
"+e+'
'+this.options.button+"";a.body?a.body.appendChild(b):a&&a.addEventListener("DOMContentLoaded",function(){a.body.appendChild(b)});c(".smartbanner-button",b).addEventListener("click",this.install.bind(this),!1);c(".smartbanner-close",b).addEventListener("click",this.close.bind(this),!1)},hide:function(){d.classList.remove("smartbanner-show")},show:function(){d.classList.add("smartbanner-show")},close:function(){this.hide(); +p.set("smartbanner-closed","true",{path:"/",expires:new Date(+new Date+864E5*this.options.daysHidden)})},install:function(){this.hide();p.set("smartbanner-installed","true",{path:"/",expires:new Date(+new Date+864E5*this.options.daysReminder)})},parseAppId:function(){var a=c('meta[name="'+this.appMeta+'"]');if(a)return this.appId="windows"===this.type?a.getAttribute("content"):/app-id=([^\s,]+)/.exec(a.getAttribute("content"))[1]}};g.exports=b},{"component-query":2,"cookie-cutter":3,"get-doc":4,"ua-parser-js":6, +"xtend/mutable":7}],2:[function(b,g,f){function e(c,a){return a.querySelector(c)}f=g.exports=function(c,a){a=a||document;return e(c,a)};f.all=function(c,a){a=a||document;return a.querySelectorAll(c)};f.engine=function(c){if(!c.one)throw Error(".one callback required");if(!c.all)throw Error(".all callback required");e=c.one;f.all=c.all;return f}},{}],3:[function(b,g,f){f=g.exports=function(e){e||(e={});"string"===typeof e&&(e={cookie:e});void 0===e.cookie&&(e.cookie="");return{get:function(c){for(var a= +e.cookie.split(/;\s*/),d=0;d