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 url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");@import url("https://fonts.googleapis.com/css?family=Oswald:300,400,500,700");@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");@import url("https://fonts.googleapis.com/css?family=Oswald:300,400,500,700");@import url(https://fonts.googleapis.com/css?family=Oswald);@font-face { | |
font-family: 'Glyphicons Halflings'; | |
src: url("../fonts/glyphicons-halflings-regular.eot"); | |
src: url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/glyphicons-halflings-regular.woff2") format("woff2"),url("../fonts/glyphicons-halflings-regular.woff") format("woff"),url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"),url("../fonts/glyphicons-halflings-regular.svg") format("svg") | |
} | |
.glyphicon { | |
position: relative; | |
top: 1px; | |
display: inline-block; |
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', | |
persons: Ember.computed('store', function() { | |
return this.get('store').peekAll('person'); | |
}), | |
actions: { |
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', | |
testArray: [ | |
Ember.Object.create({name: 'first', isChecked: true}), | |
Ember.Object.create({name: 'second', isChecked: true}), | |
Ember.Object.create({name: 'third', isChecked: true}), | |
Ember.Object.create({name: 'fourth', isChecked: true}) | |
], |
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' | |
}); |
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', | |
fromControllerToTemplate: Ember.computed('model', function() { | |
return this.get('model'); | |
}) | |
}); |
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: 'Basic Error Handling', | |
errorsArray: Ember.A([]), | |
displayError(error) { | |
this.get('errorsArray').pushObject({ | |
message: error | |
}); |
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' | |
}); |
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', | |
newFood: '', | |
actions: { | |
testing() { | |
this.send('testingRoute', this.get('newFood')); | |
} |
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({ | |
tabsArray: [ | |
{ title: 'Home', content: 'home', id: 'home', activeButton: false }, | |
{ title: 'Profile', content: 'profile', id: 'profile', activeButton: false }, | |
{ title: 'Messages', content: 'messages', id: 'messages', activeButton: false }, | |
{ title: 'Settings', content: 'settings', id: 'content', activeButton: true } | |
] | |
}); |
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 { | |
moduleFor, | |
test | |
} from 'ember-qunit'; | |
import { run } from '@ember/runloop'; | |
import _ from 'lodash'; | |
import atAGlanceMetrics from '../../mock-data/market-survey/at-a-glance-metrics'; | |
import dataProviderData from '../../mock-data/market-survey/data-provider'; | |
import trendMetrics from '../../mock-data/market-survey/trend-metrics'; | |
import volumeMetrics from '../../mock-data/market-survey/volume-metrics'; |
NewerOlder