aboutsummaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-07-01 20:47:33 +0100
committerwout <wout@impinc.co.uk>2013-07-01 20:47:33 +0100
commit4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a (patch)
tree5223b6abf4d8da2d4c4811c53e6c2256e702f425 /src/svg.js
parentb9b4af505a8f6abae7167bdff39d88c484d51aa7 (diff)
downloadsvg.js-4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a.tar.gz
svg.js-4a6da20fd312d5ea1d3f98f1bcb3b0763a66870a.zip
Added SVG.Set adn bumped to v0.24
Diffstat (limited to 'src/svg.js')
-rw-r--r--src/svg.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svg.js b/src/svg.js
index 1b82053..89c23e4 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -49,6 +49,10 @@ SVG.extend = function() {
if (modules[i])
for (key in methods)
modules[i].prototype[key] = methods[key]
+
+ /* make sure SVG.Set inherits any newly added methods */
+ if (SVG.Set && SVG.Set.inherit)
+ SVG.Set.inherit()
}
// Method for getting an eleemnt by id