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
#!/usr/bin/env bash | |
cd ~ | |
# Install command line tools | |
xcode-select -r | |
xcode-select -p | |
if [[ $? -ne 0 ]]; then | |
xcode-select --install | |
fi |
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
$ npm run test | |
> [email protected] test /Users/k3n/Applications/_externals/ember-cli-update | |
> npm run test:both | |
> [email protected] test:both /Users/k3n/Applications/_externals/ember-cli-update | |
> npm run test:bin && npm run test:command | |
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', | |
model: Ember.Object.create({ | |
name: 'Sergio', | |
bio: 'Ogro malvado achuchable', | |
lovesEmber: 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', | |
model: Ember.Object.create({ | |
name: 'Sergio', | |
bio: 'Ogro malvado achuchable', | |
lovesEmber: 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'; | |
const { get } = Ember; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
transition: Ember.Object.create({ | |
params: { | |
'dynamicForm.show': { vendor_id: 'WINNER' } | |
} |
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 one from '../templates/one'; | |
import two from '../templates/two'; | |
const { get } = Ember; | |
let tpls = {'one': one, 'two': two}; | |
export default Ember.Component.extend({ | |
tpl: null, |
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({ | |
attributeBindings: ['tabIndex:tabindex'], | |
tabIndex: 123 | |
}); |
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({ | |
isActive: true, | |
classNameBindings: ['isActive'], | |
classNames: ['foo', 'bar'] | |
}); |
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({}); |
NewerOlder