This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: ['ScoreBoard'], | |
showIntro: true, | |
till: 11, | |
sets: true, | |
userOne: { | |
name: 'Mos', | |
score: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: ['ScoreBoard'], | |
showIntro: true, | |
till: 11, | |
sets: true, | |
userOne: { | |
name: 'Mos', | |
score: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: ['DashboardTile'], | |
classNameBindings: ['columnClass', 'emphasisClass'], | |
columnClass: 'col-2_sm-4', | |
defaultWidth: null, | |
didRender() { | |
this.adaptTileSize(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"1": { | |
"profile": { | |
"personal": {}, | |
"incomenow": { | |
"employed": {}, | |
"selfemployed": {}, | |
"shareholder": {}, | |
"socialsecurityww": {}, | |
"socialsecuritywia": {}, |