mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 20:29:10 +00:00
Keeping JSHint happy
This commit is contained in:
parent
9ddebd0c04
commit
3ade3397fb
@ -40,10 +40,11 @@ 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"),
|
||||
fs = require("fs");
|
||||
path = require("path");
|
||||
vm = require("vm");
|
||||
// System paths and filenames
|
||||
$tw.boot.bootFile = path.basename(module.filename);
|
||||
|
Loading…
Reference in New Issue
Block a user