I hereby claim:
- I am robbiespeed on github.
- I am robbiespeed (https://keybase.io/robbiespeed) on keybase.
- I have a public key ASAIL_zrUy2r__CtTsV6YsZ3cKfxH05lNKpiEe3qlAimYAo
To claim this, I am signing this object:
import Ember from 'ember'; | |
const { computed } = Ember; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
thing: computed(function () { | |
let thing = this.set('appName', 'Ember'); | |
return thing; |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
queryParams: [ | |
{ perPage: 'per_page'} | |
], | |
perPage: 5 | |
}); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
queryParams: [{ | |
testParam: 'test', | |
}], | |
appName: 'Ember Twiddle', | |
testParam: 'womp' | |
}); |
import Ember from 'ember'; | |
import Model from 'ember-data/model'; | |
const { computed } = Ember; | |
function checkDirtyRelationships () { | |
const dirtyRelationships = this.get('_dirtyRelationships'); | |
let anyDirty = false; | |
this.eachRelationship((key, descriptor) => { |
import Ember from 'ember'; | |
const { get, computed, run, isNone } = Ember; | |
export default Ember.Component.extend({ | |
tagName: 'input', | |
attributeBindings: [ | |
'type', | |
// '_value:value', | |
], |
import Ember from 'ember'; | |
const { get, set, computed } = Ember; | |
export default Ember.Controller.extend({ | |
isButtonOn: false, | |
// This toggle will run when the button is pressed, it should toggle the isButtonOn property | |
// which should trigger the value of text to recompute | |
// -- begin edit area | |
toggle () { |
I hereby claim:
To claim this, I am signing this object:
declare global { | |
interface SymbolConstructor { | |
/** | |
* Similar to Symbol.iterator it is used to lookup the emitter of any Emittable | |
*/ | |
readonly emitter: unique symbol; | |
} | |
/** | |
* Reactive primitive used for propagating messages through graph connections |
import { bench, run } from 'mitata'; | |
// This is a benchmark of the performance impact of using private properties. | |
const nCount = 1000; | |
const iCount = 1000; | |
class FooN { | |
#state = 1; | |
#inc = 13; |