mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Remove 2nd redundant definition of Gradient#getStops().
This commit is contained in:
parent
7e52355f93
commit
0efc23b25c
1 changed files with 0 additions and 4 deletions
|
@ -12,9 +12,5 @@ var Gradient = Base.extend({
|
||||||
if (stops.length < 2)
|
if (stops.length < 2)
|
||||||
throw Error('Gradient stop list needs to contain at least two stops.');
|
throw Error('Gradient stop list needs to contain at least two stops.');
|
||||||
this._stops = stops;
|
this._stops = stops;
|
||||||
},
|
|
||||||
|
|
||||||
getStops: function() {
|
|
||||||
return this._stops;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue