forked from tdreyno/morlock.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
26 lines (22 loc) · 1.11 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
24
25
26
var ResizeController = require('./controllers/resize-controller');
var BreakpointController = require('./controllers/breakpoint-controller');
var ScrollController = require('./controllers/scroll-controller');
var ElementVisibleController = require('./controllers/element-visible-controller');
var ScrollPositionController = require('./controllers/scroll-position-controller');
var StickyElementController = require('./controllers/sticky-element-controller');
var ResponsiveImage = require('./core/responsive-image');
var API = require('./api');
var jQ = require('./jquery');
API.enableJQuery = function enableJQuery($) {
$ || ($ = jQuery);
if (!$) { return; }
jQ.defineJQueryPlugins($);
};
module.exports = API;
module.exports.ResizeController = ResizeController;
module.exports.BreakpointController = BreakpointController;
module.exports.ResponsiveImage = ResponsiveImage;
module.exports.ScrollController = ScrollController;
module.exports.ElementVisibleController = ElementVisibleController;
module.exports.ScrollPositionController = ScrollPositionController;
module.exports.StickyElementController = StickyElementController;