Comparing version 1.0.38 to 1.0.39
@@ -40,3 +40,3 @@ { | ||
"typings": "src/lanurite.d.ts", | ||
"version": "1.0.38", | ||
"version": "1.0.39", | ||
"license": "MIT", | ||
@@ -43,0 +43,0 @@ "repository": { |
@@ -34,3 +34,3 @@ import * as _ from "lodash" | ||
public off(eventName: string, handler?: any) { | ||
if (handler && handler.name.length) { | ||
if (handler && handler.name && handler.name.length) { | ||
this._events[eventName] = this._events[eventName].filter((callback) => { | ||
@@ -37,0 +37,0 @@ return callback.name !== handler.name |
Sorry, the diff of this file is too big to display
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
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
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
718677
52
2035