Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
Fix for removing own event listeners during destroying, fixes [#153](#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Nov 16, 2016
1 parent 72ca33f commit 16d173e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "pickmeup",
"version" : "3.0.7",
"version" : "3.0.8",
"homepage" : "https://github.com/nazar-pc/PickMeUp",
"authors" : [
"Nazar Mokrynskyi <nazar@mokrynskyi.com>"
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.0.8 (16 November, 2016)
* Fix for removing own event listeners during destroying, fixes [#153](https://github.com/nazar-pc/PickMeUp/issues/153)

3.0.7 (11 November, 2016)
* Fixed main file ([PR #142](https://github.com/nazar-pc/PickMeUp/pull/142))
* Do not fail with exception when target element to initialize PickMeUp not found, fixes [#148](https://github.com/nazar-pc/PickMeUp/issues/148)
Expand Down
14 changes: 7 additions & 7 deletions dist/pickmeup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/pickmeup.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
var events,
events_number,
i;
if (event.indexOf(' ') !== -1) {
if (event && event.indexOf(' ') !== -1) {
events = event.split(' ');
events_number = events.length;
for (i = 0; i < events_number; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"date",
"calendar"
],
"version" : "3.0.7",
"version" : "3.0.8",
"homepage" : "https://github.com/nazar-pc/PickMeUp",
"author" : {
"name" : "Nazar Mokrynskyi",
Expand Down

0 comments on commit 16d173e

Please sign in to comment.