Fix compatibility with Etherpad 1.6.1

This commit is contained in:
Luc Didry 2017-01-07 16:16:48 +01:00
parent 6d871e73ac
commit 6435752afb
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "ep_delete_after_delay", "name": "ep_delete_after_delay",
"version": "0.0.6", "version": "0.0.7",
"description": "Automatically deletes pads after a configured delay", "description": "Automatically deletes pads after a configured delay",
"author": { "author": {
"name": "Luc Didry", "name": "Luc Didry",

View file

@ -1,6 +1,8 @@
if(typeof exports == 'undefined'){ /*
* Commented because it fix https://github.com/ldidry/ep_delete_after_delay/issues/1
* if(typeof exports == 'undefined'){
var exports = this['mymodule'] = {}; var exports = this['mymodule'] = {};
} }*/
var already_notified = false; var already_notified = false;
var delay; var delay;