I hereby claim:
- I am ryanjm on github.
- I am ryanjm (https://keybase.io/ryanjm) on keybase.
- I have a public key whose fingerprint is 77EC FDF8 8283 E0B4 085C 518A 98E7 BF7A 2B88 B73E
To claim this, I am signing this object:
| extension Array { | |
| // Underscore is to opt out of Swift forcing an external name for | |
| // the default property. | |
| func lastObjects(_ c:Int = 1) -> Array? { | |
| if (c == 0) { | |
| return Array() | |
| } | |
| else if (c < 0) { | |
| return nil | |
| } |
I hereby claim:
To claim this, I am signing this object:
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle', | |
| sortProperties: ['position'], | |
| sorted: Ember.computed.sort('model', 'sortProperties'), | |
| actions: { | |
| upPosition(m) { |