mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -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
|
@ -20,8 +20,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
var padcookie = require('/pad_cookie').padcookie;
|
||||
var padutils = require('/pad_utils').padutils;
|
||||
var padcookie = require('ep_etherpad-lite/static/js/pad_cookie').padcookie;
|
||||
var padutils = require('ep_etherpad-lite/static/js/pad_utils').padutils;
|
||||
|
||||
var padeditor = (function()
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ var padeditor = (function()
|
|||
viewZoom: 100,
|
||||
init: function(readyFunc, initialViewOptions, _pad)
|
||||
{
|
||||
Ace2Editor = require('/ace').Ace2Editor;
|
||||
Ace2Editor = require('ep_etherpad-lite/static/js/ace').Ace2Editor;
|
||||
pad = _pad;
|
||||
settings = pad.settings;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue