Clean up requires.
This commit is contained in:
parent
0da4acfdb5
commit
19a7208c97
|
@ -1,14 +1,6 @@
|
||||||
var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
|
var plugins = require("./plugins");
|
||||||
var _;
|
var async = require("async");
|
||||||
|
var _ = require("underscore");
|
||||||
/* FIXME: Ugly hack, in the future, use same code for server & client */
|
|
||||||
if (plugins.isClient) {
|
|
||||||
var async = require("async");
|
|
||||||
var _ = require("ep_etherpad-lite/static/js/underscore");
|
|
||||||
} else {
|
|
||||||
var async = require("async");
|
|
||||||
var _ = require("underscore");
|
|
||||||
}
|
|
||||||
|
|
||||||
exports.bubbleExceptions = true
|
exports.bubbleExceptions = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue