Minor cleanup

This commit is contained in:
Matthew Dillon 2015-07-13 08:29:53 -08:00
parent ea77042b19
commit de18cfc949
5 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
import Session from 'simple-auth/session'; import Session from 'simple-auth/session';
import parseBase64 from '../utils/parse-base64'; import parseBase64 from '../utils/parse-base64';
import Ember from 'ember';
var CustomSession = Session.extend({ var CustomSession = Session.extend({
currentUser: function() { currentUser: function() {

View file

@ -1,5 +1,4 @@
import Ember from 'ember'; import Ember from 'ember';
import parseBase64 from '../../utils/parse-base64';
export default Ember.Controller.extend({ export default Ember.Controller.extend({
actions: { actions: {

View file

@ -14,7 +14,7 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
}, },
actions: { actions: {
willTransition: function(transition) { willTransition: function(/*transition*/) {
let controller = this.get('controller'); let controller = this.get('controller');
let species = controller.get('model'); let species = controller.get('model');

View file

@ -21,7 +21,7 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
}, },
actions: { actions: {
willTransition: function(transition) { willTransition: function(/*transition*/) {
let controller = this.get('controller'); let controller = this.get('controller');
let strain = controller.get('strain'); let strain = controller.get('strain');

View file

@ -1,4 +1,5 @@
import DS from 'ember-data'; import DS from 'ember-data';
import Ember from 'ember';
export default DS.RESTSerializer.extend({ export default DS.RESTSerializer.extend({
isNewSerializerAPI: true, isNewSerializerAPI: true,