I hereby claim:
- I am alexlafroscia on github.
- I am alexlafroscia (https://keybase.io/alexlafroscia) on keybase.
- I have a public key whose fingerprint is F4FE 088F BFFC 23E7 175C DDBB 5F2A A45C C7F7 5DE4
To claim this, I am signing this object:
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
/** | |
* For each item in the array, call the callback, passing the item as the argument. | |
* However, only call the next callback after the promise returned by the previous | |
* one has resolved. | |
* | |
* @param {Array<*>} items the elements to iterate over | |
* @param {Function} cb called for each item, with the item as the parameter. Should return a promise | |
* @return {Promise} | |
*/ | |
function synchronize(items, cb) { |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "ember test", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/.bin/ember", | |
"args": ["test"], | |
"sourceMaps": false, |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
selections: [], | |
actions: { | |
'log-transition'(name, value) { | |
this.get('selections').pushObject(value); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: ['my-component'], | |
foo: 'not clicked', | |
click() { | |
this.set('foo', 'clicked'); | |
} |
from sys import argv | |
def has_mutation(c): | |
if c == 't': | |
return '7' | |
if c == 'e': | |
return '3' | |
return None |
import Ember from 'ember'; | |
import extendBabelClass from '../utils/extend-babel-class'; | |
class MyController { | |
get appName() { | |
return 'Ember Twiddle'; | |
} | |
someCoolFunction() { | |
return 'This is my cool function'; |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
I hereby claim:
To claim this, I am signing this object:
import Ember from 'ember'; | |
/** | |
* Promise Proxy Array | |
* Custom Array class that, given a promise, will represent an empty array prior to promise resolution and the promise | |
* content after resolution. | |
* | |
* Example usage: | |
* | |
* const promise = this.store.get('users'); |