summaryrefslogtreecommitdiffstats
path: root/src/Gradient.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gradient.js')
-rw-r--r--src/Gradient.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Gradient.js b/src/Gradient.js
index ab4cc4f..9751848 100644
--- a/src/Gradient.js
+++ b/src/Gradient.js
@@ -2,7 +2,7 @@ import Stop from './Stop.js'
import Base from './Base.js'
import * as gradiented from './gradiented.js'
import {nodeOrNew, extend} from './tools.js'
-import attr from './attr.js'
+//import attr from './attr.js'
export default class Gradient extends Base {
constructor (type) {
@@ -40,11 +40,11 @@ export default class Gradient extends Base {
return this.url()
}
- // custom attr to handle transform
- attr (a, b, c) {
- if (a === 'transform') a = 'gradientTransform'
- return attr.call(this, a, b, c)
- }
+ // // custom attr to handle transform
+ // attr (a, b, c) {
+ // if (a === 'transform') a = 'gradientTransform'
+ // return attr.call(this, a, b, c)
+ // }
}
extend(Gradient, gradiented)