- Start Neovim
:CocConfig
- Paste the below:
{
"coc.preferences.formatOnSaveFiletypes": ["javascript"],
"prettier.requireConfig": true
}
:CocConfig
{
"coc.preferences.formatOnSaveFiletypes": ["javascript"],
"prettier.requireConfig": true
}
defmodule RovrApiWeb.ChangesetView do | |
use RovrApiWeb, :view | |
@doc """ | |
Traverses and translates changeset errors. | |
See `Ecto.Changeset.traverse_errors/2` and | |
`RovrApiWeb.ErrorHelpers.translate_error/1` for more details. | |
""" | |
def translate_errors(changeset) do |
import Controller from '@ember/controller'; | |
import { equal, gt } from '@ember/object/computed'; | |
export default Controller.extend({ | |
init() { | |
this._super(...arguments); | |
this.cars = []; | |
this.set('counter', 0); | |
}, |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
actions: { | |
onChange() { | |
this.set('msg', 'i heard a change event'); | |
}, | |
}, | |
}); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
}); |
Hello friends. | |
I'm writing today to tell you that my trusty friend, my La Sportiva Lady Solutions, have died. Last night the strap broke rendering the right shoe dead as a door knob. I've attached a picture in case you have a wall of hero shoes. It helped me through my first 7b, and was there for me throughout the past 9 months. I'm sure it'll be a fine addition next to Nalle's portrait. | |
See, the thing, though, is that I keep breaking that stupid wimpy strap. I've done this now on at least two other pairs of Solutions, and on two pairs of Futuras. At nearly $230 CAD a pop, I just can't justify it any more. | |
Have you seen the strap on the Evolv shoes (attached for your viewing pleasure)? Now those are straps. If I break one of these, I deserve a medal. | |
I'm writing to implore you to reconsider the strap design in 2019, as it's clear 2018's shoes are still using the same wimpy strap. Please, please, please! The shoes are basically perfect otherwise. Sensitive, snug, and readily available in my size. |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didRender() { | |
let nativeValue = this.$('#native').val(); | |
this.set('nativeValue', nativeValue); | |
let emberValue = this.$('#ember-helper').val(); | |
this.set('emberValue', emberValue); | |
}, |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
myCondition: true, | |
}); |
/* global Blob */ | |
// put in tests/helpers | |
import Ember from 'ember'; | |
const { | |
Test: { | |
registerAsyncHelper, | |
}, |