diff options
author | wout <wout@impinc.co.uk> | 2012-12-19 13:22:07 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-19 13:22:07 +0100 |
commit | dab421143cf719370cb3739d07e3e411d555cf3c (patch) | |
tree | 2ca44dc3130c2bd9da15465a5e46b01adf2f7061 /src/container.js | |
parent | 877c953761e9118753a593ec1ebeb1d523aecb5b (diff) | |
download | svg.js-dab421143cf719370cb3739d07e3e411d555cf3c.tar.gz svg.js-dab421143cf719370cb3739d07e3e411d555cf3c.zip |
Updated Readme
Diffstat (limited to 'src/container.js')
-rw-r--r-- | src/container.js | 2 |
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() { |