Remove trailing white spaces and ensure newlines at the end.

This commit is contained in:
Jürg Lehni 2014-04-06 13:48:03 +02:00
parent 91d0fc1534
commit f002c633a7
52 changed files with 241 additions and 240 deletions

View file

@ -143,7 +143,8 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
},
setClockwise: function(clockwise) {
if (this.isClockwise() != !!clockwise)
/*jshint -W018 */
if (this.isClockwise() !== !!clockwise)
this.reverse();
},

View file

@ -338,7 +338,7 @@ var Segment = Base.extend(/** @lends Segment# */{
} else {
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
// deserialization work.
this._selectionState = state;