From f20173c8ac328890172c41d9e73b64ead12e4aa5 Mon Sep 17 00:00:00 2001 From: Paul Straw Date: Wed, 3 Aug 2016 17:03:34 -0700 Subject: [PATCH] Bump version to 0.3.2 --- dist/Luminous.js | 2 +- dist/Luminous.min.js | 2 +- package.json | 2 +- src/js/Luminous.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/Luminous.js b/dist/Luminous.js index b8f8c8d0..6673f42e 100644 --- a/dist/Luminous.js +++ b/dist/Luminous.js @@ -445,7 +445,7 @@ module.exports = (_temp = _class = function () { }(), _initialiseProps = function _initialiseProps() { var _this = this; - this.VERSION = '0.3.1'; + this.VERSION = '0.3.2'; this.open = function (e) { if (e && typeof e.preventDefault === 'function') { diff --git a/dist/Luminous.min.js b/dist/Luminous.min.js index 30343d1c..1ff669d3 100644 --- a/dist/Luminous.min.js +++ b/dist/Luminous.min.js @@ -1 +1 @@ -!function e(t,i,n){function s(r,o){if(!i[r]){if(!t[r]){var a="function"==typeof require&&require;if(!o&&a)return a(r,!0);if(l)return l(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var d=i[r]={exports:{}};t[r][0].call(d.exports,function(e){var i=t[r][1][e];return s(i?i:e)},d,d.exports,e,t,i,n)}return i[r].exports}for(var l="function"==typeof require&&require,r=0;rt;t++){var i=this.triggers[t],n=new o["default"](i,this.luminousOpts);this.luminousInstances.push(n)}}},{key:"nextTrigger",value:function(e){var t=Array.prototype.indexOf.call(this.triggers,e)+1;return t>=this.triggers.length?this.triggers[0]:this.triggers[t]}},{key:"previousTrigger",value:function(e){var t=Array.prototype.indexOf.call(this.triggers,e)-1;return 0>t?this.triggers[this.triggers.length-1]:this.triggers[t]}},{key:"destroy",value:function(){}}]),e}();i["default"]=a},{"./Luminous":2,"./util/dom":6}],4:[function(e,t,i){"use strict";function n(){if(!document.querySelector(".lum-base-styles")){var e=document.createElement("style");e.type="text/css",e.classList.add("lum-base-styles"),e.appendChild(document.createTextNode(s));var t=document.head;t.insertBefore(e,t.firstChild)}}Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=n;var s="\n@keyframes lum-noop {\n 0% { zoom: 1; }\n}\n\n.lum-lightbox {\n position: fixed;\n display: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.lum-lightbox.lum-open {\n display: block;\n}\n\n.lum-lightbox.lum-opening, .lum-lightbox.lum-closing {\n animation: lum-noop 1ms;\n}\n\n.lum-lightbox-inner {\n position: absolute;\n top: 0%;\n right: 0%;\n bottom: 0%;\n left: 0%;\n\n overflow: hidden;\n}\n\n.lum-lightbox-loader {\n display: none;\n}\n\n.lum-lightbox-inner img {\n max-width: 100%;\n max-height: 100%;\n}\n\n.lum-lightbox-image-wrapper {\n vertical-align: middle;\n display: table-cell;\n text-align: center;\n}\n"},{}],5:[function(e,t,i){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var n=e("./Luminous"),s=i(n),l=e("./LuminousGallery"),r=i(l);t.Luminous=s["default"],t.LuminousGallery=r["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./Luminous":2,"./LuminousGallery":3}],6:[function(e,t,i){"use strict";function n(e){return o?e instanceof HTMLElement:e&&"object"===("undefined"==typeof e?"undefined":r(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function s(e,t){t.forEach(function(t){e.classList.add(t)})}function l(e,t){t.forEach(function(t){e.classList.remove(t)})}Object.defineProperty(i,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};i.isDOMElement=n,i.addClasses=s,i.removeClasses=l;var o="object"===("undefined"==typeof HTMLElement?"undefined":r(HTMLElement))},{}],7:[function(e,t,i){"use strict";function n(){throw new Error("Missing parameter")}Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=n},{}]},{},[5]); \ No newline at end of file +!function e(t,i,n){function s(r,o){if(!i[r]){if(!t[r]){var a="function"==typeof require&&require;if(!o&&a)return a(r,!0);if(l)return l(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var d=i[r]={exports:{}};t[r][0].call(d.exports,function(e){var i=t[r][1][e];return s(i?i:e)},d,d.exports,e,t,i,n)}return i[r].exports}for(var l="function"==typeof require&&require,r=0;rt;t++){var i=this.triggers[t],n=new o["default"](i,this.luminousOpts);this.luminousInstances.push(n)}}},{key:"nextTrigger",value:function(e){var t=Array.prototype.indexOf.call(this.triggers,e)+1;return t>=this.triggers.length?this.triggers[0]:this.triggers[t]}},{key:"previousTrigger",value:function(e){var t=Array.prototype.indexOf.call(this.triggers,e)-1;return 0>t?this.triggers[this.triggers.length-1]:this.triggers[t]}},{key:"destroy",value:function(){}}]),e}();i["default"]=a},{"./Luminous":2,"./util/dom":6}],4:[function(e,t,i){"use strict";function n(){if(!document.querySelector(".lum-base-styles")){var e=document.createElement("style");e.type="text/css",e.classList.add("lum-base-styles"),e.appendChild(document.createTextNode(s));var t=document.head;t.insertBefore(e,t.firstChild)}}Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=n;var s="\n@keyframes lum-noop {\n 0% { zoom: 1; }\n}\n\n.lum-lightbox {\n position: fixed;\n display: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.lum-lightbox.lum-open {\n display: block;\n}\n\n.lum-lightbox.lum-opening, .lum-lightbox.lum-closing {\n animation: lum-noop 1ms;\n}\n\n.lum-lightbox-inner {\n position: absolute;\n top: 0%;\n right: 0%;\n bottom: 0%;\n left: 0%;\n\n overflow: hidden;\n}\n\n.lum-lightbox-loader {\n display: none;\n}\n\n.lum-lightbox-inner img {\n max-width: 100%;\n max-height: 100%;\n}\n\n.lum-lightbox-image-wrapper {\n vertical-align: middle;\n display: table-cell;\n text-align: center;\n}\n"},{}],5:[function(e,t,i){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var n=e("./Luminous"),s=i(n),l=e("./LuminousGallery"),r=i(l);t.Luminous=s["default"],t.LuminousGallery=r["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./Luminous":2,"./LuminousGallery":3}],6:[function(e,t,i){"use strict";function n(e){return o?e instanceof HTMLElement:e&&"object"===("undefined"==typeof e?"undefined":r(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function s(e,t){t.forEach(function(t){e.classList.add(t)})}function l(e,t){t.forEach(function(t){e.classList.remove(t)})}Object.defineProperty(i,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};i.isDOMElement=n,i.addClasses=s,i.removeClasses=l;var o="object"===("undefined"==typeof HTMLElement?"undefined":r(HTMLElement))},{}],7:[function(e,t,i){"use strict";function n(){throw new Error("Missing parameter")}Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=n},{}]},{},[5]); \ No newline at end of file diff --git a/package.json b/package.json index b68cb385..73fc15a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "luminous-lightbox", - "version": "0.3.1", + "version": "0.3.2", "description": "A simple, lightweight, no-dependencies JavaScript image lightbox.", "main": "dist/Luminous.js", "scripts": { diff --git a/src/js/Luminous.js b/src/js/Luminous.js index 4317ad09..c2e99851 100644 --- a/src/js/Luminous.js +++ b/src/js/Luminous.js @@ -3,7 +3,7 @@ import injectBaseStylesheet from './injectBaseStylesheet'; import Lightbox from './Lightbox'; module.exports = class Luminous { - VERSION = '0.3.1' + VERSION = '0.3.2' constructor(trigger, options = {}) { this.isOpen = false;