From 784265715f79e9d0970efccc673595de35621f2b Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Wed, 3 Apr 2019 17:51:28 +0200 Subject: [PATCH] Whitespace cleanup --- src/scripts/js/es6/common/vuecomponents/App.js | 8 ++++---- .../js/es6/common/vuecomponents/editor/base/Select2.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripts/js/es6/common/vuecomponents/App.js b/src/scripts/js/es6/common/vuecomponents/App.js index 0d11c5c..cce7007 100644 --- a/src/scripts/js/es6/common/vuecomponents/App.js +++ b/src/scripts/js/es6/common/vuecomponents/App.js @@ -32,7 +32,7 @@ const TEMPLATE =` class ComponentState { /** * Serializable state of this component. - * + * * @param {Object} tableState */ constructor(tableState) { @@ -163,7 +163,7 @@ Vue.component('attract-app', { }, /** * Save table state to localStorage per project and context - * @param {Object} newState + * @param {Object} newState */ onTableStateChanged(newState) { let appState = new ComponentState(newState); @@ -171,7 +171,7 @@ Vue.component('attract-app', { try { localStorage.setItem(this.stateStorageKey, stateJsonStr); } catch (error) { - // Log and ignore. + // Log and ignore. console.warn('Unable to save state:', error); } }, @@ -189,7 +189,7 @@ Vue.component('attract-app', { if (!this.isTableInited) { return StateSaveMode.IGNORE; } - + if (!oldState) { // Initial state. Replace what we have so we can go back to this state return StateSaveMode.REPLACE; diff --git a/src/scripts/js/es6/common/vuecomponents/editor/base/Select2.js b/src/scripts/js/es6/common/vuecomponents/editor/base/Select2.js index 3d0baed..f381c4e 100644 --- a/src/scripts/js/es6/common/vuecomponents/editor/base/Select2.js +++ b/src/scripts/js/es6/common/vuecomponents/editor/base/Select2.js @@ -53,4 +53,4 @@ Vue.component('attract-select2', { }); } }, - }) + })