Add plug-ins functionality.
[raphael] / raphael-svg.js
index 47d0f33..22f6292 100644 (file)
                 container[prop] = R._.paper[prop];
             }
         }
+        for (var prop in R.fn) {
+            if (!container[prop]) {
+                container[prop] = R.fn[prop];
+            }
+        }
         container.clear();
         return container;
     };