aboutsummaryrefslogtreecommitdiffstats
path: root/src/container.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-19 13:22:07 +0100
committerwout <wout@impinc.co.uk>2012-12-19 13:22:07 +0100
commitdab421143cf719370cb3739d07e3e411d555cf3c (patch)
tree2ca44dc3130c2bd9da15465a5e46b01adf2f7061 /src/container.js
parent877c953761e9118753a593ec1ebeb1d523aecb5b (diff)
downloadsvg.js-dab421143cf719370cb3739d07e3e411d555cf3c.tar.gz
svg.js-dab421143cf719370cb3739d07e3e411d555cf3c.zip
Updated Readme
Diffstat (limited to 'src/container.js')
-rw-r--r--src/container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/container.js b/src/container.js
index 46e8200..d24fe17 100644
--- a/src/container.js
+++ b/src/container.js
@@ -13,7 +13,7 @@ SVG.Container = {
},
has: function(e) {
- return Array.prototype.indexOf.call(this.children(), e) >= 0;
+ return this.children().indexOf(e) >= 0;
},
children: function() {