
04-04-2009, 08:25 AM
|
Registered User
|
Join Date: Oct 2003
Posts: 2,712
|
|
Quote:
Originally Posted by xXziroXx
Instead of doing...
PHP Code:
this.on = 1;
this.on = 0;
... I'd suggest doing ...
PHP Code:
this.on = true;
this.on = false;
It just looks cleaner to me.
|
Hmm...
PHP Code:
this.on = !this.on;
|
|
|