mirror of https://github.com/jkjoy/sunpeiwen.git
23 lines
541 B
JavaScript
23 lines
541 B
JavaScript
/* global Fluid */
|
|
|
|
Fluid.boot = {};
|
|
|
|
Fluid.boot.registerEvents = function() {
|
|
Fluid.events.billboard();
|
|
Fluid.events.registerNavbarEvent();
|
|
Fluid.events.registerParallaxEvent();
|
|
Fluid.events.registerScrollDownArrowEvent();
|
|
Fluid.events.registerScrollTopArrowEvent();
|
|
Fluid.events.registerImageLoadedEvent();
|
|
};
|
|
|
|
Fluid.boot.refresh = function() {
|
|
Fluid.plugins.fancyBox();
|
|
Fluid.plugins.codeWidget();
|
|
Fluid.events.refresh();
|
|
};
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
Fluid.boot.registerEvents();
|
|
});
|