Skip to content

Instantly share code, notes, and snippets.

View 2hu12's full-sized avatar
🏠
* from home

2hu 2hu12

🏠
* from home
View GitHub Profile
@2hu12
2hu12 / application.controller.js
Last active December 10, 2019 04:46 — forked from piotrpalek/application.controller.js
inherited computed property
import Ember from 'ember';
import CoreController from '../core/controller';
const { computed } = Ember;
export default CoreController.extend({
appName:'Ember Twiddle',
foo: 1,
something: computed('foo', function() {
return this._super(...arguments) + ' & new value';