-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
23 lines (23 loc) · 1.07 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(function(root, factory){
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['./lib/Gallery-Wall'], function (GalleryWall) {
return (root.returnExportsGlobal = factory(GalleryWall));
});
define(['./lib/Gallery-Wall-fullscreen'], function (GalleryWallFullscreen) {
return (root.returnExportsGlobal = factory(GalleryWallFullscreen));
});
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require('./lib/Gallery-Wall'));
module.exports = factory(require('./lib/Gallery-Wall-fullscreen'));
} else {
// Browser globals
root.returnExportsGlobal = factory(root.GalleryWall);
root.returnExportsGlobal = factory(root.GalleryWallFullscreen);
}
}(this, function(GalleryWall, GalleryWallFullscreen){
return GalleryWall, GalleryWallFullscreen;
}));