I hereby claim:
- I am dnegstad on github.
- I am dnegstad (https://keybase.io/dnegstad) on keybase.
- I have a public key ASAa2Vr0tTaqzNbjdQFSi6NjqrhK7vk9vZzIXFI0aoKNDQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#cloud-config | |
coreos: | |
etcd2: | |
# generate a token from https://discovery.etcd.io/new?size=3 | |
discovery: https://discovery.etcd.io/<token> | |
advertise-client-urls: http://$private_ipv4:2379 | |
initial-advertise-peer-urls: http://$private_ipv4:2380 | |
listen-client-urls: http://0.0.0.0:2379 | |
listen-peer-urls: http://$private_ipv4:2380 |
import Ember from 'ember'; | |
export default Ember.Mixin.create({ | |
normalize: function(type, hash, prop) { | |
if (hash.type) { | |
let typeKey = this.typeForRoot(hash.type); | |
let newType = this.store.modelFor(typeKey); | |
if (newType) { | |
type = newType; | |
} |
import Ember from 'ember'; | |
Ember.LinkView.reopen({ | |
layoutName: 'components/link-view' | |
}); | |
export default { | |
name: 'link-to', | |
initialize: function() {} | |
}; |
import DS from 'ember-data'; | |
DS.ActiveModelSerializer.extend({ | |
serializeAttribute: function(record, json, key, attribute) { | |
if (attribute.options && attribute.options.readOnly) { | |
return; | |
} else { | |
this._super.apply(this, arguments); | |
} | |
} |
import DS from 'ember-data'; | |
export default DS.ActiveModelAdapter.extend({ | |
buildURL: function(type, id, record) { | |
if (id) { | |
return this._super.apply(this, arguments); | |
} | |
var parent = this.get('parent'); | |
var path = []; |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var pickFiles = require('broccoli-static-compiler'); | |
var mergeTrees = require('broccoli-merge-trees'); | |
var vulcanize = require('broccoli-vulcanize'); | |
var app = new EmberApp(); | |
var polymerVulcanize = vulcanize('app', { | |
input: 'elements.html', | |
output: 'assets/vulcanized.html', |