I hereby claim:
- I am akatov on github.
- I am akatov (https://keybase.io/akatov) on keybase.
- I have a public key ASASKu9xy81kwgSg8Szw5UCsDpQ0cW6lCnoDsFJblOnDbgo
To claim this, I am signing this object:
testing out how images get processed by hoot |
https://akatov.git.ht |
I hereby claim:
To claim this, I am signing this object:
import Ember from 'ember'; | |
import { task, timeout } from 'ember-concurrency'; | |
const WAIT_HERE_FOREVER = Ember.RSVP.defer().promise; | |
export default Ember.Controller.extend({ | |
count: 0, | |
mostRecent: null, | |
myTask: task(function * () { | |
try { |
import Ember from 'ember'; | |
const { A, Controller, isBlank } = Ember; | |
export default Controller.extend({ | |
people: [ | |
{ name: 'María', surname: 'Murray' }, | |
{ name: 'Søren', surname: 'Williams' }, | |
{ name: 'João', surname: 'Jin' }, | |
{ name: 'Miguel', surname: 'Camba' }, |
import Ember from 'ember'; | |
const elFn = el => el.a + ', ' + el.b; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
list: [{a: 1, b: 0}, {a: 2, b:6}], | |
dummyComputed: Ember.computed('list', function() { |
import Ember from 'ember'; | |
const { computed } = Ember; | |
let x = 0; | |
export default Ember.Controller.extend({ | |
// x: computed(() => (Ember.Object.create({ a: [], b: []}))), | |
x: computed(() => ({ a: [], b: []})), | |
y: 'hi', | |
hello: computed('y', 'x.a.[]', 'x.b.[]', function() { |
import { Adapter } from 'ember-pouch'; | |
import service from 'ember-service/inject'; | |
import { wrap } from 'ember-co'; | |
export default Adapter.extend({ | |
unloadedDocumentChanged: wrap(function*(obj) { | |
const store = get(this, 'store'); | |
const type = store.modelFor(obj.type); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |