From d7bdbd31b1169eefe1a1783bf284c9b1302b6045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 27 Oct 2014 11:10:57 +0100 Subject: [PATCH] compiler: fix coding style violations --- lib/compiler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compiler.js b/lib/compiler.js index 9d9f8d4..11f3a3b 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -47,7 +47,7 @@ module.exports = function compile(options) { // require directories var bootDirs = options.bootDirs || []; // precedence bootDirs = bootDirs.concat(path.join(appRootDir, 'boot')); - + var bootScripts = options.bootScripts || []; bootDirs.forEach(function(dir) { bootScripts = bootScripts.concat(findScripts(dir)); @@ -308,7 +308,7 @@ function loadModelDefinition(rootDir, jsonFile, allFiles) { var definition = require(jsonFile); var basename = path.basename(jsonFile, path.extname(jsonFile)); - // find a matching file with `.js` or any other supported extension like `.coffee` + // find a matching file with a supported extension like `.js` or `.coffee` var base, ext, validFileType; var sourceFile = allFiles .filter(function(f) {