mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Remove trailing white spaces and ensure newlines at the end.
This commit is contained in:
parent
91d0fc1534
commit
f002c633a7
52 changed files with 241 additions and 240 deletions
|
@ -143,7 +143,8 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
setClockwise: function(clockwise) {
|
setClockwise: function(clockwise) {
|
||||||
if (this.isClockwise() != !!clockwise)
|
/*jshint -W018 */
|
||||||
|
if (this.isClockwise() !== !!clockwise)
|
||||||
this.reverse();
|
this.reverse();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -338,7 +338,7 @@ var Segment = Base.extend(/** @lends Segment# */{
|
||||||
} else {
|
} else {
|
||||||
state &= ~flag;
|
state &= ~flag;
|
||||||
}
|
}
|
||||||
// Set the selectio state even if path is not defined yet, to allow
|
// Set the selection state even if path is not defined yet, to allow
|
||||||
// selected segments to be inserted into paths and make JSON
|
// selected segments to be inserted into paths and make JSON
|
||||||
// deserialization work.
|
// deserialization work.
|
||||||
this._selectionState = state;
|
this._selectionState = state;
|
||||||
|
|
Loading…
Reference in a new issue