From 763361a7c938ca00a73e1ebc00dc08b8ce39ebaf Mon Sep 17 00:00:00 2001 From: Egil Moeller Date: Sun, 26 Feb 2012 17:48:17 +0100 Subject: First stab at getting client side require(plugin/..) to work from within etherpad --- src/node/db/ReadOnlyManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/node/db/ReadOnlyManager.js') diff --git a/src/node/db/ReadOnlyManager.js b/src/node/db/ReadOnlyManager.js index e5dab99b..5df68a16 100644 --- a/src/node/db/ReadOnlyManager.js +++ b/src/node/db/ReadOnlyManager.js @@ -22,7 +22,7 @@ var CommonCode = require('../utils/common_code'); var ERR = require("async-stacktrace"); var db = require("./DB").db; var async = require("async"); -var randomString = CommonCode.require('/pad_utils').randomString; +var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString; /** * returns a read only id for a pad -- cgit v1.2.3