summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
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