Created
August 15, 2008 18:54
-
-
Save endash/5625 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sessionLength: function(key, value) { | |
if(value !== undefined) { | |
this.writeAttribute('sessionLength', value) | |
} else { | |
var sl = this.readAttribute('sessionLength') ; | |
if(sl > 0) | |
return sl; | |
return '0'; | |
} | |
}.property(), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment