mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Fix missing require in filesystem adator
This commit is contained in:
parent
c1bb7b00c1
commit
93c29bd388
@ -13,8 +13,8 @@ A sync adaptor module for synchronising with the local filesystem via node.js AP
|
||||
"use strict";
|
||||
|
||||
// Get a reference to the file system
|
||||
var fs = !$tw.browser ? require("fs") : null;
|
||||
|
||||
var fs = !$tw.browser ? require("fs") : null,
|
||||
path = !$tw.browser ? require("path") : null;
|
||||
|
||||
function FileSystemAdaptor(syncer) {
|
||||
var self = this;
|
||||
|
Loading…
Reference in New Issue
Block a user