Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ | |
"meta": { | |
"theme": "elegant", | |
"canonical": "www.mikejuniper.com", | |
"version": "", | |
"lastModified": "" | |
}, | |
"basics": { | |
"name": "Michael Juniper", | |
"label": "Principal Software Developer", |
This file contains hidden or 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 Controller from '@ember/controller'; | |
export default class ApplicationController extends Controller { | |
appName = 'Ember Twiddle'; | |
} |
This file contains hidden or 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
let themes = [ | |
'{"header":{"background":"#fff","text":"#000000"},"body":{"background":"#fff","text":"#4c4c4c","link":"#0079c1"},"button":{"background":"#0079c1","text":"#fff"},"logo":{"small":"https://arcgishub.maps.arcgis.com/sharing/rest/content/items/9d6a9bd32d0f480698f5cee208b27f90/data","link":"http://hub.arcgis.com"},"fonts":{"base":{"url":"","family":"Avenir Next"},"heading":{"url":"","family":"Avenir Next"}},"globalNav":{"background":"#efefef","text":"#323232"}}', | |
'{"header":{"background":"#fff","text":"#000000"},"body":{"background":"#fff","text":"#4c4c4c","link":"#7245db"},"button":{"background":"#0079c1","text":"#fff"},"logo":{"small":"https://arcgishub.maps.arcgis.com/sharing/rest/content/items/9d6a9bd32d0f480698f5cee208b27f90/data","link":"http://hub.arcgis.com"},"fonts":{"base":{"url":"","family":"Avenir Next"},"heading":{"url":"","family":"Avenir Next"}},"globalNav":{"background":"#efefef","text":"#000000"}}', | |
'{"header":{"background":"#e88140","text":"#ffffff"},"body":{"background":"#fef2ec |
This file contains hidden or 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', | |
one: true, | |
two: true, | |
three: false, | |
all: Ember.computed.and('one', 'two', 'three') | |
}); |
This file contains hidden or 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({ | |
}); |
This file contains hidden or 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({ | |
tagName: 'form', | |
submit() { | |
alert('yay'); | |
return false; | |
} | |
}); |
This file contains hidden or 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({ | |
attributeBindings: [ 'data-test' ] | |
}); |
This file contains hidden or 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({ | |
// init () { | |
// this.set('model', { [numbers: [ 1 ]] }); | |
// this._super(...arguments); | |
// }, | |
model: Object.freeze([{ number: 1, text: 'one'}]), | |
actions: { | |
pushOne () { |
NewerOlder