From 97519b2307d21277151a1276e64d41476a894525 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Thu, 28 Feb 2019 09:48:45 +0200 Subject: [PATCH] lint --- client/src/modules/imodule.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/modules/imodule.js b/client/src/modules/imodule.js index 88742d08..b16b9ee8 100644 --- a/client/src/modules/imodule.js +++ b/client/src/modules/imodule.js @@ -22,7 +22,7 @@ export default class Module { args }; this.setState = this.setState.bind(this); - + if (this.delay) { // If delay is set then module is set to load delayed from modulemanager this.initialize = this.initialize.bind(this); this.init = this.initialize; diff --git a/package.json b/package.json index de2c3eee..8443563d 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "watch_csseditor": "npm run watch --prefix csseditor", "build_editor": "npm run build --prefix editor", "watch_editor": "npm run watch --prefix editor", - "lint": "eslint -f unix client/src core/src csseditor/src common && npm run sasslint", + "lint": "eslint -f unix client/src core/src editor/src common && npm run sasslint", "lint_fix": "eslint -f unix client/src core/src csseditor/src common --fix", "sasslint": "sass-lint client/src/styles/**/*.scss -v", "test": "npm run build && npm run lint",