mirror of https://github.com/xwiki-labs/cryptpad
don't make noise when adding a listener
This commit is contained in:
parent
e86a3567be
commit
3afd144562
|
@ -66,7 +66,7 @@ define([
|
|||
// pattern needs to be an array
|
||||
pattern = type(pattern) === 'array'? pattern: [pattern];
|
||||
|
||||
console.log("[MOCK] adding change listener at path [%s]", pattern.join(','));
|
||||
//console.log("adding change listener at path [%s]", pattern.join(','));
|
||||
events.change.push({
|
||||
cb: function (oldval, newval, path, root) {
|
||||
if (pathMatches(path, pattern)) {
|
||||
|
|
Loading…
Reference in New Issue