ep_rewrite_share_paths
Advanced tools
Comparing version 1.0.5 to 1.0.8
@@ -1,3 +0,3 @@ | ||
var path = require('path'); | ||
var eejs = require("ep_etherpad-lite/node/eejs"); | ||
const path = require('path'); | ||
const eejs = require('ep_etherpad-lite/node/eejs'); | ||
@@ -10,2 +10,1 @@ /* | ||
*/ | ||
@@ -17,3 +17,3 @@ { | ||
}, | ||
"version": "1.0.5", | ||
"version": "1.0.8", | ||
"repository": { | ||
@@ -24,3 +24,10 @@ "type": "git", | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"eslint": "^7.14.0", | ||
"eslint-config-etherpad": "^1.0.8", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prefer-arrow": "^1.2.2", | ||
"eslint-plugin-promise": "^4.2.1" | ||
}, | ||
"optionalDependencies": {}, | ||
@@ -40,3 +47,15 @@ "engines": { | ||
"readme": "ERROR: No README.md file found!", | ||
"_resolved": "https://registry.npmjs.org/ep_rewrite_share_paths/-/ep_rewrite_share_paths-1.0.2.tgz" | ||
"_resolved": "https://registry.npmjs.org/ep_rewrite_share_paths/-/ep_rewrite_share_paths-1.0.2.tgz", | ||
"funding": { | ||
"type": "individual", | ||
"url": "http://etherpad.org/" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"extends": "etherpad/plugin" | ||
}, | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint:fix": "eslint --fix ." | ||
} | ||
} |
@@ -1,5 +0,3 @@ | ||
exports.eejsBlock_scripts = function (hook_name, args, cb) | ||
{ | ||
args.content = args.content + require('ep_etherpad-lite/node/eejs/').require("ep_rewrite_share_paths/static/js/rewrite.js"); | ||
} | ||
exports.eejsBlock_scripts = function (hook_name, args, cb) { | ||
args.content += require('ep_etherpad-lite/node/eejs/').require('ep_rewrite_share_paths/static/js/rewrite.js'); | ||
}; |
Sorry, the diff of this file is not supported yet
7909
9
6
51