ep_stats 0.0.61 → 0.0.62
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/index.js +8 -12
- package/package.json +4 -1
package/index.js
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const {template} = require('ep_plugin_helpers');
|
|
4
|
+
|
|
3
5
|
const eejs = require('ep_etherpad-lite/node/eejs');
|
|
4
6
|
const settings = require('ep_etherpad-lite/node/utils/Settings');
|
|
5
7
|
|
|
6
|
-
exports.eejsBlock_exportColumn =
|
|
7
|
-
|
|
8
|
-
return cb();
|
|
9
|
-
};
|
|
8
|
+
exports.eejsBlock_exportColumn =
|
|
9
|
+
template('ep_stats/templates/exportcolumn.html');
|
|
10
10
|
|
|
11
|
-
exports.eejsBlock_scripts =
|
|
12
|
-
|
|
13
|
-
return cb();
|
|
14
|
-
};
|
|
11
|
+
exports.eejsBlock_scripts =
|
|
12
|
+
template('ep_stats/templates/scripts.html');
|
|
15
13
|
|
|
16
14
|
exports.eejsBlock_styles = (hookName, args, cb) => {
|
|
17
15
|
args.content += '<link href="../static/plugins/ep_stats/static/css/stats.css" rel="stylesheet">';
|
|
18
16
|
return cb();
|
|
19
17
|
};
|
|
20
18
|
|
|
21
|
-
exports.eejsBlock_body =
|
|
22
|
-
|
|
23
|
-
return cb();
|
|
24
|
-
};
|
|
19
|
+
exports.eejsBlock_body =
|
|
20
|
+
template('ep_stats/templates/stats.html');
|
|
25
21
|
|
|
26
22
|
exports.eejsBlock_mySettings = (hookName, args, cb) => {
|
|
27
23
|
let checkedState;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep_stats",
|
|
3
3
|
"description": "See pad Stats in Etherpad",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.62",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "John McLear",
|
|
7
7
|
"email": "john@mclear.co.uk",
|
|
@@ -37,5 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=18.0.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"ep_plugin_helpers": "^0.5.0"
|
|
40
43
|
}
|
|
41
44
|
}
|