Skip to content

Commit

Permalink
[ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris-B committed Oct 13, 2020
1 parent d85d725 commit b41e3bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/jquery.nanogallery2.core.min.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions dist/jquery.nanogallery2.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// ###########################################



// Expose plugin as an AMD module if AMD loader is present:
(function (factory) {
"use strict";
Expand Down Expand Up @@ -383,7 +384,7 @@
}

// remove the albums's items from the global items array
this.I.removeIf( function( obj ) {
this.I.ngy2removeIf( function( obj ) {
return( obj.albumID == albumID && obj.kind != 'albumUp' );
});

Expand Down Expand Up @@ -660,7 +661,7 @@
}
}

// TODO: update medianumber of the other item in the same album
// TODO: update media-number of the other item in the same album
}

NGY2Item.prototype.addToGOM = function( ) {
Expand Down Expand Up @@ -7899,8 +7900,8 @@ debugger;
};
}());

// array.removeIf -> removes items from array base on a function's result
Array.prototype.removeIf = function(callback) {
// array.ngy2removeIf -> removes items from array base on a function's result
Array.prototype.ngy2removeIf = function(callback) {
var i = this.length;
while (i--) {
if (callback(this[i], i)) {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.nanogallery2.min.js

Large diffs are not rendered by default.

0 comments on commit b41e3bd

Please sign in to comment.