Keeping JSHint happy

print-window-tiddler
Jeremy Ruston 2012-08-02 22:24:37 +01:00
rodzic 9ddebd0c04
commit 3ade3397fb
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -40,10 +40,11 @@ if(typeof(window) === "undefined" && !global.$tw) {
$tw.boot = {}; $tw.boot = {};
// Server initialisation // Server initialisation
var fs, path, vm;
if(!$tw.browser) { if(!$tw.browser) {
// Standard node libraries // Standard node libraries
var fs = require("fs"), fs = require("fs");
path = require("path"), path = require("path");
vm = require("vm"); vm = require("vm");
// System paths and filenames // System paths and filenames
$tw.boot.bootFile = path.basename(module.filename); $tw.boot.bootFile = path.basename(module.filename);