Skip to content

Instantly share code, notes, and snippets.

View hbrysiewicz's full-sized avatar
💙
All you need is love

Alex Elliott hbrysiewicz

💙
All you need is love
View GitHub Profile
// config/environment.js
module.exports = function(environment) {
let ENV = {
modulePrefix: 'my-project',
podModulePrefix: 'my-project/pods'
...
}
}
{
"disableAnalytics": true,
"usePods": true
}
import Ember from 'ember';
import { task } from 'ember-concurrency';
import { sort } from '@ember/object/computed';
export default Ember.Component.extend({
columns: [
{
propertyName: "requestStatus",
title: "Status",
component: "custom/format-status",
import DS from 'ember-data'
import Ember from 'ember'
import { task } from 'ember-concurrency'
const {
Model,
attr,
belongsTo
} = DS
@hbrysiewicz
hbrysiewicz / components.clickable-svg.js
Last active March 31, 2017 22:37
Inline SVG - Part 2
import Ember from 'ember'
const {
Component
} = Ember
export default Component.extend()
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<img src={{data}} />
import Ember from 'ember'
const {
Component,
computed: { alias }
} = Ember
export default Component.extend({
attributeBindings: [
'data',