| Age | Commit message (Collapse) | Author |
|
|
|
The OpenNode define an handler that will be called when a node is
clicked from the WuiVfsList.
|
|
Previously, the WuiVfsOptions contains two handlers: ListNodes to
retrieve list of files and OnClickNode for triggering changes when
user click a path or item in the list.
This changes simplify it into single handler: Open, which accept
path and boolean is_dir.
|
|
This commit changes the WuiVfsOptions.istNodes and
WuiEditorOptions.OpenFile to WuiResponseInterface.
WuiResponseInterface define an interface that will be returned by function
or method with non-void type.
If the function/method success, the code should be set to 200 (equal to
HTTP OK), and the data will contains the expected data for that function.
If the function/method call failed, the code should be set to other value
beside 200 with a message describe why its failed.
|
|
The vfs.js implement the web user interface for virtual file system
explorer.
|