cleaned up undefined, null, 0, and '' comparison operators. To unset a attribute, you can now set it to null, 0, or ''. Setting an attribute to undefined will have no effect

This commit is contained in:
Eric Rowell
2012-06-22 13:15:29 -07:00
parent 40a92a9988
commit 422791a99a
9 changed files with 56 additions and 58 deletions

View File

@@ -304,7 +304,7 @@ Test.prototype.tests = {
});
darth.on('mouseout', function() {
this.setStroke(undefined);
this.setStroke(null);
this.setStrokeWidth(0);
layer.draw();
});