| Age | Commit message (Collapse) | Author |
|
For watchFile and watchDirectory we use useFsEvents (the default):
Attempt to use the operating system/file system’s native events
for directory changes.
dynamicPriorityPolling: Use a dynamic queue where less-frequently
modified files will be checked less often.
synchronousWatchDirectory: Synchronously call callbacks and update
the state of directory watchers on platforms that don`t support
recursive watching natively.
Instead of giving a small timeout to allow for potentially multiple
edits to occur on a file.
Reference: https://www.typescriptlang.org/docs/handbook/configuring-watch.html
|
|
The execCommand has been deprecated according to Mozilla Developer
Network.
This changes require the tsc target set to es2019 to be able to
use the string trimEnd method.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand
|
|
|
|
In this changes we introduce eslint as our linter for TypeScript and
update our tsconfig to be more strict.
The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website
repository [1].
[1]: https://cs.opensource.google/go/x/website
|
|
I cannot remember how I reformat those files previously, probably without
any tools.
This changes reformat the TypeScript files using prettier and HTML files
using js-beautify.
|
|
In order to minimize dependencies with require.js, we set the "lib",
"target" and "module" to es2015 and "esModuleInterop" to true to
allow module importable on browser.
|
|
The OnClickNode event will be send when user click non-directory files.
|
|
The vfs.js implement the web user interface for virtual file system
explorer.
|