diff options
Diffstat (limited to 'src/attr.js')
-rw-r--r-- | src/attr.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/attr.js b/src/attr.js index 2d9e8f9..9340981 100644 --- a/src/attr.js +++ b/src/attr.js @@ -1,13 +1,6 @@ SVG.extend(SVG.Element, { // Set svg element attribute attr: function(a, v, n) { - // ensure right tranform attribute - if (a == 'transform') - if(this instanceof SVG.Pattern) - a = 'patternTransform' - else if(this instanceof SVG.Gradient) - a = 'gradientTransform' - // act as full getter if (a == null) { // get an object of attributes |