mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-20 10:57:35 +02:00
Fix:Include Watcher as lib with no dependencies and fix tiny-readdir bug #610
This commit is contained in:
parent
160dac109d
commit
ec6e70725c
34 changed files with 2187 additions and 281 deletions
16
server/libs/watcher/atomically/utils/lang.js
Normal file
16
server/libs/watcher/atomically/utils/lang.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
/* LANG */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const Lang = {
|
||||
isFunction: (x) => {
|
||||
return typeof x === 'function';
|
||||
},
|
||||
isString: (x) => {
|
||||
return typeof x === 'string';
|
||||
},
|
||||
isUndefined: (x) => {
|
||||
return typeof x === 'undefined';
|
||||
}
|
||||
};
|
||||
/* EXPORT */
|
||||
exports.default = Lang;
|
Loading…
Add table
Add a link
Reference in a new issue