View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
lodashTest: Ember.computed(function() {
return _.camelCase('foo bar');
})
});
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
setCurrentModel: Ember.observer('currentRouteName', 'transition', function() {
let transition = this.get('transition');
if (transition) {
let routeName = this.get('currentRouteName');
transition.then(() => {
let controller = Ember.getOwner(this).lookup('controller:' + routeName);
View keybase.md

Keybase proof

I hereby claim:

  • I am gmurphey on github.
  • I am gmurphey (https://keybase.io/gmurphey) on keybase.
  • I have a public key whose fingerprint is F142 FD60 FFF7 4809 E5CB E3A6 D948 7778 BD78 D6E1

To claim this, I am signing this object:

View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init: function() {
this._super(...arguments);
var firstItem = Ember.Object.create({id: 'first'});
var secondItem = Ember.Object.create({id: 'second'});
View components.slow-word.js
import Ember from 'ember';
export default Ember.Component.extend({
isVisible: false,
didInsertElement() {
Ember.run.later(() => {
this.set('isVisible', true);
}, 3000);
}
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
queryParams: ['sort'],
sort: "",
sortedUsers: Ember.computed.sort('model', 'sortDefinition'),
sortDefinition: Ember.computed('sort', function() {
return [ this.get('sort') ];
}),
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
actions: {
authenticate(name, password) {
alert(`${name} / ${password}`);
}
}
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
View routes.application.js
import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
return Ember.A([
{ title: 'hello' },
{ title: 'world' }
]);
}
});