Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['ScoreBoard'],
showIntro: true,
till: 11,
sets: true,
userOne: {
name: 'Mos',
score: 0,
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['ScoreBoard'],
showIntro: true,
till: 11,
sets: true,
userOne: {
name: 'Mos',
score: 0,
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['DashboardTile'],
classNameBindings: ['columnClass', 'emphasisClass'],
columnClass: 'col-2_sm-4',
defaultWidth: null,
didRender() {
this.adaptTileSize();
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'MagicName',
fullName: 'Timo Erik Hofmeijer-Simons',
fullNameObserver: Ember.observer('fullName', function() {
if (this.get('suspend')) return;
this.reset();
let fullName = this.normalize(this.get('fullName'));
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
name:'Lex',
what: 'sucks',
whats: ['is cool', 'is beautiful', 'is an asshole', 'is a supaboy'],
actions: {
changeWhat() {
let whats = this.get('whats');
export default Ember.Controller.extend({
appName:'Ember Twiddle',
total: 80,
value1: 40,
value2: 20,
value3: 20,
matchUp: Ember.computed('value1','value2','value3', function() {
let v1 = this.get('value1') * 1,
v2 = this.get('value2') * 1,
v3 = this.get('value3') * 1,
{
"1": {
"profile": {
"personal": {},
"incomenow": {
"employed": {},
"selfemployed": {},
"shareholder": {},
"socialsecurityww": {},
"socialsecuritywia": {},