diff --git a/dist/luminous.js b/dist/luminous.js index 9ee81cd8..29dad155 100644 --- a/dist/luminous.js +++ b/dist/luminous.js @@ -19,7 +19,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // All officially-supported browsers have this, but it's easy to // account for, just in case. -var HAS_ANIMATION = 'animation' in document.body.style; +var HAS_ANIMATION = 'animation' in document.createElement('div').style; var Lightbox = (function () { function Lightbox() { @@ -182,7 +182,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -var VERSION = exports.VERSION = '0.1.2'; +var VERSION = exports.VERSION = '0.1.3'; var Luminous = (function () { function Luminous(trigger) { diff --git a/dist/luminous.min.js b/dist/luminous.min.js index 925b0ee8..0095a44c 100644 --- a/dist/luminous.min.js +++ b/dist/luminous.min.js @@ -1 +1 @@ -!function e(t,n,i){function s(l,r){if(!n[l]){if(!t[l]){var a="function"==typeof require&&require;if(!r&&a)return a(l,!0);if(o)return o(l,!0);var u=new Error("Cannot find module '"+l+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[l]={exports:{}};t[l][0].call(d.exports,function(e){var n=t[l][1][e];return s(n?n:e)},d,d.exports,e,t,n,i)}return n[l].exports}for(var o="function"==typeof require&&require,l=0;l