kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Keeping JSHint happy
rodzic
9ddebd0c04
commit
3ade3397fb
|
@ -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);
|
||||||
|
|
Ładowanie…
Reference in New Issue