From a5c4ddd33478e3f7951334f652b2717892cbcc70 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 10 May 2017 16:09:33 -0400 Subject: [PATCH] oops my linter is not running automatically --- .../admin/controllers/modals/admin-add-upload.js.es6 | 2 +- app/assets/javascripts/admin/models/theme.js.es6 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 b/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 index 41a2f857154..3d771a91e6d 100644 --- a/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 +++ b/app/assets/javascripts/admin/controllers/modals/admin-add-upload.js.es6 @@ -16,7 +16,7 @@ export default Ember.Controller.extend(ModalFunctionality, { @computed('name') nameValid(name) { - return name && name.match(/^[a-zA-Z0-9-_]+$/) + return name && name.match(/^[a-zA-Z0-9-_]+$/); }, @observes('name') diff --git a/app/assets/javascripts/admin/models/theme.js.es6 b/app/assets/javascripts/admin/models/theme.js.es6 index 3da681477aa..742d06317fd 100644 --- a/app/assets/javascripts/admin/models/theme.js.es6 +++ b/app/assets/javascripts/admin/models/theme.js.es6 @@ -54,7 +54,7 @@ const Theme = RestModel.extend({ getField(target, name) { let themeFields = this.get("themeFields"); - let key = this.getKey({target, name}) + let key = this.getKey({target, name}); let field = themeFields[key]; return field ? field.value : ""; },