Rename ChangeFlags -> ChangeFlag.

This commit is contained in:
Jürg Lehni 2011-06-19 22:21:14 +01:00
parent f0bc3f115b
commit 0df909dd71
6 changed files with 16 additions and 16 deletions
src/path

View file

@ -60,14 +60,14 @@ var Path = this.Path = PathItem.extend({
},
_changed: function(flags) {
if (flags & ChangeFlags.GEOMETRY) {
if (flags & ChangeFlag.GEOMETRY) {
delete this._bounds;
delete this._position;
delete this._strokeBounds;
delete this._length;
// Clockwise state becomes undefined as soon as geometry changes.
delete this._clockwise;
} else if (flags & ChangeFlags.STROKE) {
} else if (flags & ChangeFlag.STROKE) {
delete this._strokeBounds;
}
},