Closed danielkorte closed 10 years ago
Currently, once the plugin is destroyed it keeps throwing errors in the get function since 'windowEvents' is no longer in the attrs variable. Removing the window listeners when the destroy function is called fixes that. Great plugin! Cheers!
My bad. This commit used event namespaces (not available w/ regular vanilla javascript).
Currently, once the plugin is destroyed it keeps throwing errors in the get function since 'windowEvents' is no longer in the attrs variable. Removing the window listeners when the destroy function is called fixes that. Great plugin! Cheers!