This file contains 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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
value: '', | |
maxLength: Ember.computed('value.length', function() { | |
if (this.get('value.length') > 10) { | |
return this.get('value.length'); | |
} else { | |
return 9000; |
This file contains 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
I hereby claim: | |
* I am raymondjcox on github. | |
* I am raymondcox (https://keybase.io/raymondcox) on keybase. | |
* I have a public key whose fingerprint is 2028 179B 80E5 AADA 18AE 3CF0 FF02 383F AA76 73E7 | |
To claim this, I am signing this object: | |
```json | |
{ |