mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-03 14:23:11 +02:00
extension: Change some names.
This commit is contained in:
parent
840526a17e
commit
bc3b35487d
|
@ -115,7 +115,7 @@ const router = {
|
|||
return (tab.title + "\n").substr(offset, size);
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"document.body.innerText.txt": {
|
||||
async read(path, fh, size, offset) {
|
||||
const tabId = parseInt(pathComponent(path, -2));
|
||||
if (!debugged[tabId]) {
|
||||
|
@ -128,7 +128,7 @@ const router = {
|
|||
return result.value.substr(offset, size)
|
||||
}
|
||||
},
|
||||
"tree": {
|
||||
"resources": {
|
||||
async opendir(path) {
|
||||
const tabId = parseInt(pathComponent(path, -2));
|
||||
if (!debugged[tabId]) {
|
||||
|
|
Loading…
Reference in a new issue