summaryrefslogtreecommitdiffstats
path: root/src/Gradient.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-27 22:43:30 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-27 22:43:30 +0200
commita612dc0dd5b911728a7089900138727f1eec549e (patch)
treea5c6864b20d9f862a51e09a62b1e8775284ac5a1 /src/Gradient.js
parent1c75fcaf02ceb144152d59557643c6fdd7264065 (diff)
downloadsvg.js-a612dc0dd5b911728a7089900138727f1eec549e.tar.gz
svg.js-a612dc0dd5b911728a7089900138727f1eec549e.zip
resolve last circular dependencies, make rollup work
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)