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 = {};
|
||||
|
||||
// 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);
|
||||
|
|
Ładowanie…
Reference in New Issue