From 3ade3397fbf496bdf0107fcde00c34008a344f4f Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 2 Aug 2012 22:24:37 +0100 Subject: [PATCH] Keeping JSHint happy --- core/boot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/boot.js b/core/boot.js index 418612228..5f389d309 100644 --- a/core/boot.js +++ b/core/boot.js @@ -40,11 +40,12 @@ if(typeof(window) === "undefined" && !global.$tw) { $tw.boot = {}; // Server initialisation +var fs, path, vm; if(!$tw.browser) { // Standard node libraries - var fs = require("fs"), - path = require("path"), - vm = require("vm"); + fs = require("fs"); + path = require("path"); + vm = require("vm"); // System paths and filenames $tw.boot.bootFile = path.basename(module.filename); $tw.boot.bootPath = path.dirname(module.filename);