diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-07 11:24:24 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-07 11:24:24 +0200 |
commit | dfae5055f19d17bad054d283890badd4f8c3dd12 (patch) | |
tree | c1d01ee3ab09428020a84c0aa0dfef722f7f4772 /src/gradient.js | |
parent | b9ce105304f8d381ea7731cd12c2b9c499b4f37c (diff) | |
download | svg.js-dfae5055f19d17bad054d283890badd4f8c3dd12.tar.gz svg.js-dfae5055f19d17bad054d283890badd4f8c3dd12.zip |
renamed `SVG.Stop` constructor `at()` on `SVG.Gradient` to `stop()` (#707)
Diffstat (limited to 'src/gradient.js')
-rw-r--r-- | src/gradient.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient.js b/src/gradient.js index 75237b4..de04fcd 100644 --- a/src/gradient.js +++ b/src/gradient.js @@ -10,7 +10,7 @@ SVG.Gradient = SVG.invent({ // Add class methods , extend: { // Add a color stop - at: function(offset, color, opacity) { + stop: function(offset, color, opacity) { return this.put(new SVG.Stop).update(offset, color, opacity) } // Update gradient |