Clean up requires.

pull/701/head
Chad Weider 2012-05-28 17:23:43 -07:00
parent 0da4acfdb5
commit 19a7208c97
1 changed files with 3 additions and 11 deletions

View File

@ -1,14 +1,6 @@
var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
var _;
/* 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 plugins = require("./plugins");
var async = require("async");
var _ = require("underscore");
}
exports.bubbleExceptions = true