Skip to content

Instantly share code, notes, and snippets.

k3n

Block or report user

Report or block k3n

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View dotfiles.sh
#!/usr/bin/env bash
cd ~
# Install command line tools
xcode-select -r
xcode-select -p
if [[ $? -ne 0 ]]; then
xcode-select --install
fi
@k3n
k3n / ember-cli-update_test-failure
Created Mar 7, 2019
ember-cli-update_test-failure
View ember-cli-update_test-failure
$ npm run test
> ember-cli-update@0.31.0 test /Users/k3n/Applications/_externals/ember-cli-update
> npm run test:both
> ember-cli-update@0.31.0 test:both /Users/k3n/Applications/_externals/ember-cli-update
> npm run test:bin && npm run test:command
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
model: Ember.Object.create({
name: 'Sergio',
bio: 'Ogro malvado achuchable',
lovesEmber: true
})
});
View application.controller.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
model: Ember.Object.create({
name: 'Sergio',
bio: 'Ogro malvado achuchable',
lovesEmber: true
})
});
View controllers.application.js
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' }
}
View components.l-o-l.js
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,
View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
attributeBindings: ['tabIndex:tabindex'],
tabIndex: 123
});
View components.my-four.js
import Ember from 'ember';
export default Ember.Component.extend({
});
View components.foo-bar.js
import Ember from 'ember';
export default Ember.Component.extend({
isActive: true,
classNameBindings: ['isActive'],
classNames: ['foo', 'bar']
});
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({});
You can’t perform that action at this time.