stump-cycle-dom
Advanced tools
Comparing version 0.0.7 to 0.0.9
@@ -82,3 +82,3 @@ "use strict"; | ||
} | ||
// this.resetNonBubblingListeners(); | ||
_this.resetNonBubblingListeners(); | ||
_this.nonBubblingListenersToAdd.forEach(function (arr) { | ||
@@ -118,5 +118,5 @@ _this.setupNonBubblingListener(arr); | ||
if (subs_1) { | ||
Object.keys(subs_1.forEach(function (key) { | ||
Object.keys(subs_1).forEach(function (key) { | ||
subs_1[key].unsubscribe(); | ||
})); | ||
}); | ||
} | ||
@@ -123,0 +123,0 @@ } |
@@ -80,3 +80,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
// this.resetNonBubblingListeners(); | ||
_this.resetNonBubblingListeners(); | ||
_this.nonBubblingListenersToAdd.forEach(function (arr) { | ||
@@ -116,5 +116,5 @@ _this.setupNonBubblingListener(arr); | ||
if (subs_1) { | ||
Object.keys(subs_1.forEach(function (key) { | ||
Object.keys(subs_1).forEach(function (key) { | ||
subs_1[key].unsubscribe(); | ||
})); | ||
}); | ||
} | ||
@@ -121,0 +121,0 @@ } |
{ | ||
"name": "stump-cycle-dom", | ||
"version": "0.0.7", | ||
"version": "0.0.9", | ||
"description": "The standard DOM Driver for Cycle.js, based on Snabbdom", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -119,3 +119,3 @@ import xs, {Stream, Subscription} from 'xstream'; | ||
// this.resetNonBubblingListeners(); | ||
this.resetNonBubblingListeners(); | ||
this.nonBubblingListenersToAdd.forEach(arr => { | ||
@@ -165,5 +165,5 @@ this.setupNonBubblingListener(arr); | ||
if (subs) { | ||
Object.keys(subs.forEach((key: any) => { | ||
Object.keys(subs).forEach((key: any) => { | ||
subs[key].unsubscribe(); | ||
})) | ||
}) | ||
} | ||
@@ -170,0 +170,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
633751