From: Steve Sutton Date: Thu, 16 Nov 2017 16:07:13 +0000 (-0500) Subject: Update smartbanner js file X-Git-Tag: v1.0.8^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ff2c1847380747b6dd86b7d34fe5fe49b6cfbf1c;p=WP-Themes%2Fkeweenaw2017.git Update smartbanner js file Use current version --- diff --git a/assets/smartbanner/smartbanner.js b/assets/smartbanner/smartbanner.js index d495cc1..5733d44 100644 --- a/assets/smartbanner/smartbanner.js +++ b/assets/smartbanner/smartbanner.js @@ -1,5 +1,5 @@ /*! - * smartbanner.js v1.5.0 + * smartbanner.js v1.8.0 * Copyright © 2017 Ain Tohvri, contributors. Licensed under GPL-3.0. */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o\n \n
\n
\n
\n
' + this.options.title + '
\n
' + this.options.author + '
\n
' + this.options.price + this.priceSuffix + '
\n
\n
\n ' + this.options.button + '\n '; + var modifier = !this.options.customDesignModifier ? this.platform : this.options.customDesignModifier; + return '
\n \n
\n
\n
\n
' + this.options.title + '
\n
' + this.options.author + '
\n
' + this.options.price + this.priceSuffix + '
\n
\n
\n ' + this.options.button + '\n
'; } }, { key: 'height', @@ -521,6 +529,11 @@ var SmartBanner = function () { } return _detector2.default.userAgentMatchesRegex(this.options.includeUserAgentRegex); } + }, { + key: 'hideTtl', + get: function get() { + return this.options.hideTtl ? parseInt(this.options.hideTtl) : false; + } }]); return SmartBanner;