summaryrefslogtreecommitdiffstats
path: root/src/utilities.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-18 13:07:00 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-18 13:13:54 +0100
commitc482c602500494c8f30357284fd873046296ab65 (patch)
treeab63ed28993257cef93c03a6957722650f3609b5 /src/utilities.js
parentb9bf23473e782ef16ae0d51dc840051451a3fc03 (diff)
downloadsvg.js-c482c602500494c8f30357284fd873046296ab65.tar.gz
svg.js-c482c602500494c8f30357284fd873046296ab65.zip
prefix globals with window so window can be injected properly
Diffstat (limited to 'src/utilities.js')
-rw-r--r--src/utilities.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilities.js b/src/utilities.js
index aeae87f..c41e8e4 100644
--- a/src/utilities.js
+++ b/src/utilities.js
@@ -35,7 +35,7 @@ SVG.utils = {
}
, filterSVGElements: function(nodes) {
- return this.filter( nodes, function(el) { return el instanceof SVGElement })
+ return this.filter( nodes, function(el) { return el instanceof window.SVGElement })
}
} \ No newline at end of file