Use 0 instead of null for empty bit flag fields.

This commit is contained in:
Jürg Lehni 2011-04-27 19:11:22 +01:00
parent c6d96784ba
commit ebc9bc88c4

View file

@ -139,7 +139,7 @@ var Path = this.Path = PathItem.extend({
this._selectedSegmentCount = selected ? length : 0;
for (var i = 0; i < length; i++)
this._segments[i]._selectionState = selected
? SelectionState.POINT : null;
? SelectionState.POINT : 0;
},
isFullySelected: function() {