mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-02-23 00:21:22 -08:00
Keeping JSHint happy
This commit is contained in:
parent
9ddebd0c04
commit
3ade3397fb
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue