Skip to content

Instantly share code, notes, and snippets.

View kenelliott's full-sized avatar

Ken Elliott kenelliott

  • Jupiter
View GitHub Profile
@kenelliott
kenelliott / application.route.js
Last active February 29, 2016 21:39 — forked from Gaurav0/application.route.js
AutoFocus Component
import Ember from 'ember';
export default Ember.Route.extend({
init() {
this._super(...arguments);
$.mockjax({
url: '/api/mock',
type: "POST",
status: 422,