summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Weider <cweider@oofn.net>2012-03-10 15:50:15 -0800
committerChad Weider <cweider@oofn.net>2012-03-10 15:57:46 -0800
commit6fac0750c2a424652ddc47feacc9bfb0ce85de5c (patch)
treefc7d4acdd3385db5d055c73b5566e3dd5d9a9718
parentc1a903e32e782047acc3abc5bc630a0317ab4f8b (diff)
downloadetherpad-lite-6fac0750c2a424652ddc47feacc9bfb0ce85de5c.zip
These definitions have no need to be inside this closure.
-rw-r--r--src/static/pad.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/static/pad.html b/src/static/pad.html
index 04d5ca33..98451e5f 100644
--- a/src/static/pad.html
+++ b/src/static/pad.html
@@ -271,13 +271,13 @@
var plugins = require('ep_etherpad-lite/static/js/pluginfw/plugins');
plugins.update(function () {
require('ep_etherpad-lite/static/js/pad').init();
-
- /* TODO: These globals shouldn't exist. */
- pad = require('ep_etherpad-lite/static/js/pad').pad;
- chat = require('ep_etherpad-lite/static/js/chat').chat;
- padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
- padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp;
});
+
+ /* TODO: These globals shouldn't exist. */
+ pad = require('ep_etherpad-lite/static/js/pad').pad;
+ chat = require('ep_etherpad-lite/static/js/chat').chat;
+ padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
+ padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp;
}());
</script>