diff options
author | Chad Weider <cweider@oofn.net> | 2012-03-06 17:27:03 -0800 |
---|---|---|
committer | Chad Weider <cweider@oofn.net> | 2012-03-10 12:09:27 -0800 |
commit | 6af869caddac5046db48484de4b5ae836d05709d (patch) | |
tree | fc34cce2aaf80890fe1aca408d8d13a50fa9b04e /static/js/pad.js | |
parent | 6fd73ecfda27fd6639c30a4c05c6149d66f669ee (diff) | |
download | etherpad-lite-6af869caddac5046db48484de4b5ae836d05709d.zip |
Modules requires use relative paths.
Diffstat (limited to 'static/js/pad.js')
-rw-r--r-- | static/js/pad.js | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/static/js/pad.js b/static/js/pad.js index bda68956..d19cface 100644 --- a/static/js/pad.js +++ b/static/js/pad.js @@ -26,29 +26,29 @@ var socket; // These jQuery things should create local references, but for now `require()` // assigns to the global `$` and augments it with plugins. -require('/jquery'); -require('/farbtastic'); -require('/excanvas'); -JSON = require('/json2'); -require('/undo-xpopup'); -require('/prefixfree'); - -var chat = require('/chat').chat; -var getCollabClient = require('/collab_client').getCollabClient; -var padconnectionstatus = require('/pad_connectionstatus').padconnectionstatus; -var padcookie = require('/pad_cookie').padcookie; -var paddocbar = require('/pad_docbar').paddocbar; -var padeditbar = require('/pad_editbar').padeditbar; -var padeditor = require('/pad_editor').padeditor; -var padimpexp = require('/pad_impexp').padimpexp; -var padmodals = require('/pad_modals').padmodals; -var padsavedrevs = require('/pad_savedrevs').padsavedrevs; -var paduserlist = require('/pad_userlist').paduserlist; -var padutils = require('/pad_utils').padutils; - -var createCookie = require('/pad_utils').createCookie; -var readCookie = require('/pad_utils').readCookie; -var randomString = require('/pad_utils').randomString; +require('./jquery'); +require('./farbtastic'); +require('./excanvas'); +JSON = require('./json2'); +require('./undo-xpopup'); +require('./prefixfree'); + +var chat = require('./chat').chat; +var getCollabClient = require('./collab_client').getCollabClient; +var padconnectionstatus = require('./pad_connectionstatus').padconnectionstatus; +var padcookie = require('./pad_cookie').padcookie; +var paddocbar = require('./pad_docbar').paddocbar; +var padeditbar = require('./pad_editbar').padeditbar; +var padeditor = require('./pad_editor').padeditor; +var padimpexp = require('./pad_impexp').padimpexp; +var padmodals = require('./pad_modals').padmodals; +var padsavedrevs = require('./pad_savedrevs').padsavedrevs; +var paduserlist = require('./pad_userlist').paduserlist; +var padutils = require('./pad_utils').padutils; + +var createCookie = require('./pad_utils').createCookie; +var readCookie = require('./pad_utils').readCookie; +var randomString = require('./pad_utils').randomString; function getParams() { |