Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit a33ae69

Browse files
committed
check if mutationobserver is available
1 parent cdb6b18 commit a33ae69

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016, Quantmind
1+
Copyright (c) 2018, Quantmind
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.1.6",
2+
"version": "1.1.7",
33
"name": "d3-view",
44
"description": "View-model d3 plugin for building interactive data-driven web interfaces",
55
"author": {

src/core/clean.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {select} from 'd3-selection';
22
import {inBrowser} from 'd3-let';
33

44

5-
if (inBrowser) {
5+
if (inBrowser && window.MutationObserver) {
66
// DOM observer
77
// Check for changes in the DOM that leads to visual actions
88
const observer = new MutationObserver(visualManager);

0 commit comments

Comments
 (0)