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 Controller from '@ember/controller'; | |
export default class ApplicationController extends Controller { | |
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 Component from '@glimmer/component'; | |
import { action } from '@ember/object'; | |
import { tracked } from '@glimmer/tracking'; | |
export default class DropdownComponent extends Component { | |
@tracked feature = 'one'; | |
defaultOptions = ['one', 'two', 'three']; | |
all = 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
### Keybase proof | |
I hereby claim: | |
* I am acorncom on github. | |
* I am acorncom (https://keybase.io/acorncom) on keybase. | |
* I have a public key ASAw5EJ_RKe1iAXtMwIDHMsqamo5Tkfzbr0fs1liOdytNgo | |
To claim this, I am signing this object: |
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 Adapter from 'ember-data/adapters/json-api'; | |
import Ember from 'ember'; | |
import RSVP from 'rsvp'; | |
const { Promise } = RSVP; | |
const { get } = Ember; | |
class Transaction { | |
constructor(store, ModelClass, primary, transactionMembers) { | |
this.store = store; |
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.Component.extend({ | |
counter: 0, | |
messages: [ | |
'This is going to take a while, sorry about that ...', | |
'We\'re busy getting your info, shouldn\'t be much longer now ...', | |
'Hang in there, almost finished ...' | |
], | |
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({ | |
}); |
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({ | |
counter: 0, | |
messages: [ | |
'This is going to take a while, sorry about that ...', | |
'We\'re busy getting your info, shouldn\'t be much longer now ...', | |
'Hang in there, almost finished ...' | |
], | |
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
deploy: | |
- provider: script | |
skip_cleanup: true | |
script: node_modules/.bin/ember deploy development --activate --verbose | |
on: | |
branch: master | |
- provider: script | |
skip_cleanup: true | |
script: node_modules/.bin/ember deploy staging --activate --verbose | |
on: |
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'; | |
import config from './config/environment'; | |
const Router = Ember.Router.extend({ | |
location: 'none', | |
rootURL: config.rootURL | |
}); | |
Router.map(function() { | |
this.route('outside', { path: '/' }, function() { |
NewerOlder