Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions js/jquery.galleryview-3.0-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ if (typeof Object.create !== 'function') {
};
}

(function ($) {
// Uses AMD or browser globals to create a jQuery plugin.
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
// custom image object
var gvImage = function (img) {

Expand Down Expand Up @@ -1076,4 +1085,4 @@ if (typeof Object.create !== 'function') {
show_infobar: true, //BOOLEAN - flag to show or hide infobar
infobar_opacity: 1 //FLOAT - transparency for info bar
};
})(jQuery);
}));