mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 02:46:15 -04:00
First stab at getting client side require(plugin/..) to work from within etherpad
This commit is contained in:
parent
fd5b7c1080
commit
763361a7c9
40 changed files with 122 additions and 122 deletions
|
@ -206,11 +206,11 @@
|
|||
(function () {
|
||||
require.setRootURI("../minified/");
|
||||
require.setGlobalKeyPath("require");
|
||||
require('/timeslider').init();
|
||||
require('ep_etherpad-lite/static/js/timeslider').init();
|
||||
|
||||
/* TODO: These globals shouldn't exist. */
|
||||
padeditbar = require('/pad_editbar').padeditbar;
|
||||
padimpexp = require('/pad_impexp').padimpexp;
|
||||
padeditbar = require('ep_etherpad-lite/static/js/pad_editbar').padeditbar;
|
||||
padimpexp = require('ep_etherpad-lite/static/js/pad_impexp').padimpexp;
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue