mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
not working atm
This commit is contained in:
parent
1702c7c34e
commit
4fbf0e8e2a
68 changed files with 238 additions and 9606 deletions
|
@ -11,7 +11,7 @@ if (process.argv.length != 3) {
|
|||
const padId = process.argv[2];
|
||||
|
||||
// load and initialize NPM;
|
||||
const npm = require('../src/node_modules/npm');
|
||||
const npm = require('npm');
|
||||
npm.load({}, async () => {
|
||||
try {
|
||||
// initialize database
|
||||
|
@ -20,7 +20,7 @@ npm.load({}, async () => {
|
|||
await db.init();
|
||||
|
||||
// load modules
|
||||
const Changeset = require('ep_etherpad-lite/static/js/Changeset');
|
||||
const Changeset = require('../src/static/js/Changeset');
|
||||
const padManager = require('../src/node/db/PadManager');
|
||||
|
||||
const exists = await padManager.doesPadExists(padId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue