can-dom-mutate
Advanced tools
Comparing version 2.0.1 to 2.0.2
'use strict'; | ||
var globals = require('can-globals'); | ||
var getRoot = require('can-globals/global/global'); | ||
@@ -221,3 +220,2 @@ var getMutationObserver = require('can-globals/mutation-observer/mutation-observer'); | ||
if (observerData.observingCount === 0) { | ||
globals.onKeyValue('MutationObserver', setupObserver); | ||
setupObserver(); | ||
@@ -236,3 +234,2 @@ } | ||
deleteRelatedData(target, observerKey); | ||
globals.offKeyValue('MutationObserver', setupObserver); | ||
} | ||
@@ -239,0 +236,0 @@ } |
{ | ||
"name": "can-dom-mutate", | ||
"description": "Dispatch and listen for DOM mutations", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "DoneJS Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
793678
14272