Skip to content

Commit

Permalink
Version 1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed May 20, 2020
1 parent 4aa944c commit 5084232
Show file tree
Hide file tree
Showing 21 changed files with 5,937 additions and 99 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lightgallery.js",
"version": "1.1.3",
"version": "1.2.0",
"description": "Full featured lightbox gallery. Zero dependencies",
"main": [
"dist/js/lightgallery.min.js",
Expand Down
8 changes: 4 additions & 4 deletions demo/js/lg-autoplay.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**!
* lg-autoplay.js | 1.0.0 | October 5th 2016
* lg-autoplay.js | 1.2.0 | May 20th 2020
* http://sachinchoolur.github.io/lg-autoplay.js
* Copyright (c) 2016 Sachin N;
* @license GPLv3
*/(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.LgAutoplay = f()}})(function(){var define,module,exports;return (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<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
*/(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.LgAutoplay = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
Expand Down Expand Up @@ -151,7 +151,7 @@
// Manage autoplay via play/stop buttons
Autoplay.prototype.controls = function () {
var _this = this;
var _html = '<span class="lg-autoplay-button lg-icon"></span>';
var _html = '<button aria-label="Toggle autoplay" class="lg-autoplay-button lg-icon"></button>';

// Append autoplay controls
_this.core.outer.querySelector(this.core.s.appendAutoplayControlsTo).insertAdjacentHTML('beforeend', _html);
Expand Down Expand Up @@ -213,4 +213,4 @@
});

},{}]},{},[1])(1)
});
});
4 changes: 2 additions & 2 deletions demo/js/lg-autoplay.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions demo/js/lg-fullscreen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**!
* lg-fullscreen.js | 1.1.0 | February 23rd 2019
* lg-fullscreen.js | 1.2.0 | May 20th 2020
* http://sachinchoolur.github.io/lg-fullscreen.js
* Copyright (c) 2016 Sachin N;
* @license GPLv3
Expand Down Expand Up @@ -61,7 +61,7 @@
if (!document.fullscreenEnabled && !document.webkitFullscreenEnabled && !document.mozFullScreenEnabled && !document.msFullscreenEnabled) {
return;
} else {
fullScreen = '<span class="lg-fullscreen lg-icon"></span>';
fullScreen = '<button aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>';
this.core.outer.querySelector('.lg-toolbar').insertAdjacentHTML('beforeend', fullScreen);
this.fullScreen();
}
Expand Down
4 changes: 2 additions & 2 deletions demo/js/lg-fullscreen.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5084232

Please sign in to comment.