ep_embedmedia
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,3 +9,3 @@ { | ||
"eejsBlock_styles": "ep_embedmedia/hooks:eejsBlock_styles", | ||
"eejsBlock_modals": "ep_embedmedia/hooks:eejsBlock_modals" | ||
"eejsBlock_body": "ep_embedmedia/hooks:eejsBlock_body" | ||
}, | ||
@@ -12,0 +12,0 @@ "client_hooks": { |
@@ -1,4 +0,4 @@ | ||
var path = require('path'); | ||
var express = require('express'); | ||
var eejs = require("ep_etherpad-lite/node/eejs"); | ||
var path = require('path'), | ||
express = require('ep_etherpad-lite/node_modules/express'), | ||
eejs = require("ep_etherpad-lite/node/eejs"); | ||
@@ -10,3 +10,3 @@ exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) { | ||
exports.eejsBlock_modals = function (hook_name, args, cb) { | ||
exports.eejsBlock_body = function (hook_name, args, cb) { | ||
args.content = args.content + eejs.require("ep_embedmedia/templates/modals.ejs", {}, module); | ||
@@ -13,0 +13,0 @@ return cb(); |
{ | ||
"name": "ep_embedmedia", | ||
"description": "Embed media (youtube, vimeo etc)", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"author": "RedHog (Egil Moeller) <egil.moller@freecode.no>", | ||
"contributors": [], | ||
"contributors": ["johnyma22 (John McLear) <john@mclear.co.uk>"], | ||
"dependencies": { }, | ||
"engines": { "node": ">= 0.4.1 < 0.7.0" } | ||
"engines": { "node": "*" } | ||
} |
@@ -100,3 +100,3 @@ exports.aceInitInnerdocbodyHead = function(hook_name, args, cb) { | ||
if (!res) { | ||
return "<img src='/static/plugins/ep_embedmedia/static/html/invalid.png'></img>"; | ||
return "<img src='/static/plugins/ep_embedmedia/static/html/invalid.png'>"; | ||
} | ||
@@ -103,0 +103,0 @@ |
@@ -31,2 +31,2 @@ $(document).ready(function () { | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
63629
1274
1