mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
Split client and server plugin functionality.
There is virtually no shared code for the client, extract it into its own module and do away with the switches.
This commit is contained in:
parent
9394495364
commit
1258ed3a0d
9 changed files with 117 additions and 108 deletions
|
@ -29,6 +29,7 @@ var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
|
|||
var hooks = require("ep_etherpad-lite/static/js/pluginfw/hooks");
|
||||
var npm = require("npm/lib/npm.js");
|
||||
|
||||
hooks.plugins = plugins;
|
||||
|
||||
//set loglevel
|
||||
log4js.setGlobalLogLevel(settings.loglevel);
|
||||
|
|
|
@ -68,7 +68,8 @@
|
|||
, "security.js"
|
||||
, "$security.js"
|
||||
, "json2.js"
|
||||
, "pluginfw/plugins.js"
|
||||
, "pluginfw/client_plugins.js"
|
||||
, "pluginfw/shared.js"
|
||||
, "pluginfw/hooks.js"
|
||||
, "pluginfw/parent_require.js"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue