ld31-space-diggers/node_modules/browser-sync/node_modules/browser-sync-client/lib/ghostmode.js
Ruben Müller 760c1838ed Add game
2014-12-07 20:57:49 +01:00

20 lines
466 B
JavaScript

"use strict";
var eventManager = require("./events").manager;
exports.plugins = {
"scroll": require("./ghostmode.scroll"),
"clicks": require("./ghostmode.clicks"),
"forms": require("./ghostmode.forms"),
"location": require("./ghostmode.location")
};
/**
* Load plugins for enabled options
* @param bs
*/
exports.init = function (bs) {
for (var name in exports.plugins) {
exports.plugins[name].init(bs, eventManager);
}
};