summaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector.js')
-rw-r--r--src/selector.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/selector.js b/src/selector.js
index 8627521..b4ea05f 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -1,3 +1,5 @@
+/* global idFromReference */
+
// Method for getting an element by id
SVG.get = function (id) {
var node = document.getElementById(idFromReference(id) || id)