ep_comments_page 1.0.39 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apiUtils.js +2 -2
- package/exportHTML.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/static/tests/backend/specs/api/exportHTML.js +1 -1
package/apiUtils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import * as absolutePaths from 'ep_etherpad-lite/node/utils/AbsolutePaths';
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
const padManager = require('ep_etherpad-lite/node/db/PadManager');
|
|
6
|
-
|
|
6
|
+
import settings from 'ep_etherpad-lite/node/utils/Settings'
|
|
7
7
|
|
|
8
8
|
// ensure we have an apiKey
|
|
9
9
|
let apiKey = '';
|
package/exportHTML.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const $ = require('cheerio').load('');
|
|
4
4
|
const commentManager = require('./commentManager');
|
|
5
|
-
|
|
5
|
+
import settings from 'ep_etherpad-lite/node/utils/Settings'
|
|
6
6
|
|
|
7
7
|
// Iterate over pad attributes to find only the comment ones
|
|
8
8
|
const findAllCommentUsedOn = (pad) => {
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const AttributePool = require('ep_etherpad-lite/static/js/AttributePool');
|
|
4
4
|
const Changeset = require('ep_etherpad-lite/static/js/Changeset');
|
|
5
5
|
const eejs = require('ep_etherpad-lite/node/eejs/');
|
|
6
|
-
|
|
6
|
+
import settings from 'ep_etherpad-lite/node/utils/Settings'
|
|
7
7
|
const {Formidable} = require('formidable');
|
|
8
8
|
const commentManager = require('./commentManager');
|
|
9
9
|
const apiUtils = require('./apiUtils');
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ const utils = require('../../../utils');
|
|
|
4
4
|
const codeToBe0 = utils.codeToBe0;
|
|
5
5
|
const apiVersion = utils.apiVersion;
|
|
6
6
|
const randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
|
|
7
|
-
|
|
7
|
+
import settings from 'ep_etherpad-lite/node/utils/Settings'
|
|
8
8
|
const common = require('ep_etherpad-lite/tests/backend/common');
|
|
9
9
|
const db = require('ep_etherpad-lite/node/db/DB');
|
|
10
10
|
|