mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
pluginfw: accept 'null' as a hook-result, as this is needed by handleMessage
This commit is contained in:
parent
cd294c608b
commit
f70309645c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ var hookCallWrapper = function (hook, hook_name, args, cb) {
|
|||
|
||||
// Normalize output to list for both sync and async cases
|
||||
var normalize = function(x) {
|
||||
if (x == undefined) return [];
|
||||
if (x === undefined) return [];
|
||||
return x;
|
||||
}
|
||||
var normalizedhook = function () {
|
||||
|
|
Loading…
Reference in a new issue