diff options
author | Egil Moeller <egil.moller@freecode.no> | 2012-02-26 15:34:03 +0100 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2012-02-26 15:34:03 +0100 |
commit | fd5b7c1080d605caba658c0c4913e298ef0184c2 (patch) | |
tree | b83f4775ee423e555dee3ad8e321996850072cb9 /available_plugins | |
parent | ac7ad6b5193b215bd8bca03be78f8f20fedbe727 (diff) | |
download | etherpad-lite-fd5b7c1080d605caba658c0c4913e298ef0184c2.zip |
require(ep_pluginname/static/blabla); now works both on client and server
Diffstat (limited to 'available_plugins')
-rw-r--r-- | available_plugins/ep_fintest/otherpart.js | 2 |
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) { |