mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Added POC for browser
This commit is contained in:
parent
6d73fed7b6
commit
be2616f766
12 changed files with 117 additions and 104 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
(async () => {
|
||||
window.clientVars = {
|
||||
// This is needed to fetch /pluginfw/plugin-definitions.json, which happens before the server
|
||||
|
@ -6,7 +7,7 @@
|
|||
};
|
||||
|
||||
// Allow other frames to access this frame's modules.
|
||||
window.require.resolveTmp = require.resolve('ep_etherpad-lite/static/js/pad_cookie');
|
||||
//window.require.resolveTmp = require.resolve('ep_etherpad-lite/static/js/pad_cookie');
|
||||
|
||||
const basePath = new URL('..', window.location.href).pathname;
|
||||
window.$ = window.jQuery = require('../../src/static/js/rjquery').jQuery;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue