summaryrefslogtreecommitdiff
path: root/available_plugins/ep_fintest
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-02-26 15:34:03 +0100
committerEgil Moeller <egil.moller@freecode.no>2012-02-26 15:34:03 +0100
commitfd5b7c1080d605caba658c0c4913e298ef0184c2 (patch)
treeb83f4775ee423e555dee3ad8e321996850072cb9 /available_plugins/ep_fintest
parentac7ad6b5193b215bd8bca03be78f8f20fedbe727 (diff)
downloadetherpad-lite-fd5b7c1080d605caba658c0c4913e298ef0184c2.zip
require(ep_pluginname/static/blabla); now works both on client and server
Diffstat (limited to 'available_plugins/ep_fintest')
-rw-r--r--available_plugins/ep_fintest/otherpart.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/available_plugins/ep_fintest/otherpart.js b/available_plugins/ep_fintest/otherpart.js
index 36fea8d8..ca259f44 100644
--- a/available_plugins/ep_fintest/otherpart.js
+++ b/available_plugins/ep_fintest/otherpart.js
@@ -1,4 +1,4 @@
-test = ep_client_require("/plugins/ep_fintest/test.js");
+test = require("ep_fintest/static/js/test.js");
console.log("FOOO:", test.foo);
exports.somehook = function (hook_name, args, cb) {