mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
require(ep_pluginname/static/blabla); now works both on client and server
This commit is contained in:
parent
ac7ad6b519
commit
fd5b7c1080
3 changed files with 13 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue