diff --git a/src/instance/events.js b/src/instance/events.js index 329715b..9e82728 100644 --- a/src/instance/events.js +++ b/src/instance/events.js @@ -108,7 +108,8 @@ close: function() { log.events && console.log('event.remove: [%s].%s => [%s].%s()"', node.localName, name, model.localName, path); node.removeEventListener(eventName, listener, false); - } + }, + discardChanges: function() {} } }; }