Skip to content

Commit

Permalink
chore: rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh committed Jul 14, 2019
1 parent 9183b82 commit a01e1f3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 58 deletions.
6 changes: 1 addition & 5 deletions dist/css/lightbox.min.css

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

13 changes: 1 addition & 12 deletions dist/js/lightbox-plus-jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -10598,11 +10598,7 @@ return jQuery;
} );

/*!
<<<<<<< HEAD
* Lightbox v2.11.0
=======
* Lightbox v2.11.1
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa
* by Lokesh Dhakar
*
* More info:
Expand Down Expand Up @@ -10702,9 +10698,6 @@ return jQuery;
}

var self = this;
<<<<<<< HEAD
$('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
=======

// The two root notes generated, #lightboxOverlay and #lightbox are given
// tabindex attrs so they are focusable. We attach our keyboard event
Expand All @@ -10718,7 +10711,6 @@ return jQuery;
//
// Github issue: https://github.com/lokesh/lightbox2/issues/663
$('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa

// Cache jQuery objects
this.$lightbox = $('#lightbox');
Expand Down Expand Up @@ -10942,7 +10934,7 @@ return jQuery;
if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
maxImageWidth = self.options.maxWidth;
}
if (self.options.maxHeight && self.options.maxHeight < maxImageWidth) {
if (self.options.maxHeight && self.options.maxHeight < maxImageHeight) {
maxImageHeight = self.options.maxHeight;
}

Expand Down Expand Up @@ -11132,11 +11124,8 @@ return jQuery;

var keycode = event.keyCode;
if (keycode === KEYCODE_ESC) {
<<<<<<< HEAD
=======
// Prevent bubbling so as to not affect other components on the page.
event.stopPropagation();
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa
this.end();
} else if (keycode === KEYCODE_LEFTARROW) {
if (this.currentImageIndex !== 0) {
Expand Down
11 changes: 1 addition & 10 deletions dist/js/lightbox-plus-jquery.min.js

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions dist/js/lightbox-plus-jquery.min.map

Large diffs are not rendered by default.

13 changes: 1 addition & 12 deletions dist/js/lightbox.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/*!
<<<<<<< HEAD
* Lightbox v2.11.0
=======
* Lightbox v2.11.1
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa
* by Lokesh Dhakar
*
* More info:
Expand Down Expand Up @@ -103,9 +99,6 @@
}

var self = this;
<<<<<<< HEAD
$('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
=======

// The two root notes generated, #lightboxOverlay and #lightbox are given
// tabindex attrs so they are focusable. We attach our keyboard event
Expand All @@ -119,7 +112,6 @@
//
// Github issue: https://github.com/lokesh/lightbox2/issues/663
$('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo($('body'));
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa

// Cache jQuery objects
this.$lightbox = $('#lightbox');
Expand Down Expand Up @@ -343,7 +335,7 @@
if (self.options.maxWidth && self.options.maxWidth < maxImageWidth) {
maxImageWidth = self.options.maxWidth;
}
if (self.options.maxHeight && self.options.maxHeight < maxImageWidth) {
if (self.options.maxHeight && self.options.maxHeight < maxImageHeight) {
maxImageHeight = self.options.maxHeight;
}

Expand Down Expand Up @@ -533,11 +525,8 @@

var keycode = event.keyCode;
if (keycode === KEYCODE_ESC) {
<<<<<<< HEAD
=======
// Prevent bubbling so as to not affect other components on the page.
event.stopPropagation();
>>>>>>> f3f625ba65ea8727baa4be30e428de45d5b93faa
this.end();
} else if (keycode === KEYCODE_LEFTARROW) {
if (this.currentImageIndex !== 0) {
Expand Down
Loading

0 comments on commit a01e1f3

Please sign in to comment.