summaryrefslogtreecommitdiff
path: root/src/static/js/pad_utils.js
diff options
context:
space:
mode:
authorChad Weider <cweider@oofn.net>2012-03-10 15:08:09 -0800
committerChad Weider <cweider@oofn.net>2012-03-10 15:08:09 -0800
commitddda347f7a8291935dacd647ef5eb3c1e67c08cd (patch)
treee7358883c7f9c96c5f76b5ba51fb23ff02792d2b /src/static/js/pad_utils.js
parent7b497b15220da0c13c5d489423c99286baac302c (diff)
parent86d6dde42f3ba5d922955f9e49ccbb8caef2e404 (diff)
downloadetherpad-lite-ddda347f7a8291935dacd647ef5eb3c1e67c08cd.zip
Merge branch 'require-paths' into plugin
Conflicts: node/server.js src/static/js/Changeset.js src/static/js/ace.js src/static/js/ace2_common.js src/static/js/ace2_inner.js src/static/js/broadcast.js src/static/js/changesettracker.js src/static/js/chat.js src/static/js/collab_client.js src/static/js/contentcollector.js src/static/js/domline.js src/static/js/linestylefilter.js src/static/js/pad.js src/static/js/pad_connectionstatus.js src/static/js/pad_docbar.js src/static/js/pad_editbar.js src/static/js/pad_editor.js src/static/js/pad_impexp.js src/static/js/pad_modals.js src/static/js/pad_savedrevs.js src/static/js/pad_userlist.js src/static/js/pad_utils.js src/static/js/timeslider.js src/static/js/undomodule.js src/static/pad.html src/static/timeslider.html
Diffstat (limited to 'src/static/js/pad_utils.js')
-rw-r--r--src/static/js/pad_utils.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/static/js/pad_utils.js b/src/static/js/pad_utils.js
index 96b48077..8f7347bf 100644
--- a/src/static/js/pad_utils.js
+++ b/src/static/js/pad_utils.js
@@ -20,7 +20,7 @@
* limitations under the License.
*/
-var Security = require('ep_etherpad-lite/static/js/security');
+var Security = require('./security');
/**
* Generates a random String with the given length. Is needed to generate the Author, Group, readonly, session Ids
@@ -75,7 +75,7 @@ var padutils = {
},
uniqueId: function()
{
- var pad = require('ep_etherpad-lite/static/js/pad').pad; // Sidestep circular dependency
+ var pad = require('./pad').pad; // Sidestep circular dependency
function encodeNum(n, width)
{
// returns string that is exactly 'width' chars, padding with zeros
@@ -250,7 +250,7 @@ var padutils = {
},
timediff: function(d)
{
- var pad = require('ep_etherpad-lite/static/js/pad').pad; // Sidestep circular dependency
+ var pad = require('./pad').pad; // Sidestep circular dependency
function format(n, word)
{
n = Math.round(n);
@@ -520,7 +520,7 @@ function setupGlobalExceptionHandler() {
padutils.setupGlobalExceptionHandler = setupGlobalExceptionHandler;
-padutils.binarySearch = require('ep_etherpad-lite/static/js/ace2_common').binarySearch;
+padutils.binarySearch = require('./ace2_common').binarySearch;
exports.randomString = randomString;
exports.createCookie = createCookie;