From 6fac0750c2a424652ddc47feacc9bfb0ce85de5c Mon Sep 17 00:00:00 2001 From: Chad Weider Date: Sat, 10 Mar 2012 15:50:15 -0800 Subject: [PATCH] These definitions have no need to be inside this closure. --- src/static/pad.html | 12 ++++++------ 1 file 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; }());