ep_help_bubbles
Advanced tools
Comparing version 1.1.5 to 1.1.8
@@ -1,6 +0,6 @@ | ||
var path = require('path'); | ||
var eejs = require("ep_etherpad-lite/node/eejs"); | ||
const path = require('path'); | ||
const eejs = require('ep_etherpad-lite/node/eejs'); | ||
exports.eejsBlock_embedPopup = function (hook_name, args, cb) { | ||
args.content = args.content + eejs.require("ep_help_bubbles/templates/embedButtons.html"); | ||
args.content += eejs.require('ep_help_bubbles/templates/embedButtons.html'); | ||
return cb(); | ||
@@ -10,5 +10,4 @@ }; | ||
exports.eejsBlock_scripts = function (hook_name, args, cb) { | ||
args.content = args.content + eejs.require("ep_help_bubbles/templates/scripts.html", {}, module); | ||
args.content += eejs.require('ep_help_bubbles/templates/scripts.html', {}, module); | ||
return cb(); | ||
}; | ||
@@ -17,3 +17,3 @@ { | ||
}, | ||
"version": "1.1.5", | ||
"version": "1.1.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_help_bubbles/-/ep_help_bubbles-1.0.2.tgz" | ||
"_resolved": "https://registry.npmjs.org/ep_help_bubbles/-/ep_help_bubbles-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,15 +0,13 @@ | ||
exports.eejsBlock_scripts = function (hook_name, args, cb) | ||
{ | ||
args.content = args.content + require('ep_etherpad-lite/node/eejs/').require("ep_help_bubbles/static/js/Bubble.js"); | ||
args.content = args.content + require('ep_etherpad-lite/node/eejs/').require("ep_help_bubbles/static/js/jquery.grumble.js"); | ||
args.content = args.content + require('ep_etherpad-lite/node/eejs/').require("ep_help_bubbles/static/js/help_bubbles_function.js"); | ||
} | ||
exports.eejsBlock_scripts = function (hook_name, args, cb) { | ||
args.content += require('ep_etherpad-lite/node/eejs/').require('ep_help_bubbles/static/js/Bubble.js'); | ||
args.content += require('ep_etherpad-lite/node/eejs/').require('ep_help_bubbles/static/js/jquery.grumble.js'); | ||
args.content += require('ep_etherpad-lite/node/eejs/').require('ep_help_bubbles/static/js/help_bubbles_function.js'); | ||
}; | ||
exports.eejsBlock_styles = function (hook_name, args, cb) | ||
{ | ||
args.content = args.content + require('ep_etherpad-lite/node/eejs/').require("ep_help_bubbles/static/css/help_bubbles.css"); | ||
} | ||
exports.eejsBlock_styles = function (hook_name, args, cb) { | ||
args.content += require('ep_etherpad-lite/node/eejs/').require('ep_help_bubbles/static/css/help_bubbles.css'); | ||
}; | ||
exports.eejsBlock_editbarMenuRight = function (hook_name, args, cb) { | ||
args.content = require('ep_etherpad-lite/node/eejs/').require("ep_help_bubbles/templates/help_bubbles.ejs") + args.content; | ||
} | ||
args.content = require('ep_etherpad-lite/node/eejs/').require('ep_help_bubbles/templates/help_bubbles.ejs') + args.content; | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39359
13
6
606