diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f9153e..c7472a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [0.1.8](https://github.com/Wikiki/bulma-quickview/compare/0.1.7...0.1.8) (2018-02-10) + + +### Bug Fixes + +* **gulp:** Use UMD modules style ([8ba9964](https://github.com/Wikiki/bulma-quickview/commit/8ba9964)) + + + ## [0.1.7](https://github.com/Wikiki/bulma-quickview/compare/0.1.6...0.1.7) (2018-02-10) diff --git a/bower.json b/bower.json index e0a0282..307795c 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "bulma-quickview", "description": "Display a quick view of data without leaving the current page", "main": "quickview.sass", - "version": "0.1.7", + "version": "0.1.8", "authors": [ "Wikiki (https://wikiki.github.io/bulma-extensions/overview)" ], diff --git a/dist/bulma-quickview.min.js b/dist/bulma-quickview.min.js index c855f8b..63fd195 100644 --- a/dist/bulma-quickview.min.js +++ b/dist/bulma-quickview.min.js @@ -1 +1 @@ -var MOUSE_EVENTS=["click","touchstart"];function closest(e,t){var c,n;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some(function(e){return"function"==typeof document.body[e]&&(c=e,!0)});e;){if((n=e.parentElement)&&n[c](t))return n;e=n}return null}document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll('[data-show="quickview"]');[].forEach.call(e,function(e){var t=document.getElementById(e.dataset.target);t&&MOUSE_EVENTS.forEach(function(c){e.addEventListener(c,function(e){e.preventDefault(),t.classList.add("is-active")})})});var t=document.querySelectorAll('[data-dismiss="quickview"]');[].forEach.call(t,function(e){var t=closest(e,".quickview");t&&MOUSE_EVENTS.forEach(function(c){e.addEventListener(c,function(e){t.classList.remove("is-active")})})})}); \ No newline at end of file +!function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{t(),e.bulmaQuickviewMin={}}}(this,function(){"use strict";var e=["click","touchstart"];document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll('[data-show="quickview"]');[].forEach.call(t,function(t){var n=document.getElementById(t.dataset.target);n&&e.forEach(function(e){t.addEventListener(e,function(e){e.preventDefault(),n.classList.add("is-active")})})});var n=document.querySelectorAll('[data-dismiss="quickview"]');[].forEach.call(n,function(t){var n=function(e,t){var n,c;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some(function(e){return"function"==typeof document.body[e]&&(n=e,!0)});e;){if((c=e.parentElement)&&c[n](t))return c;e=c}return null}(t,".quickview");n&&e.forEach(function(e){t.addEventListener(e,function(e){n.classList.remove("is-active")})})})})}); \ No newline at end of file diff --git a/package.json b/package.json index 37b259a..6228bb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bulma-quickview", - "version": "0.1.7", + "version": "0.1.8", "description": "Display a quick view of data without leaving the current page", "main": "dist/bulma-quickview.sass", "scripts": {