mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-17 21:16:35 +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);
|
return (tab.title + "\n").substr(offset, size);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"text": {
|
"document.body.innerText.txt": {
|
||||||
async read(path, fh, size, offset) {
|
async read(path, fh, size, offset) {
|
||||||
const tabId = parseInt(pathComponent(path, -2));
|
const tabId = parseInt(pathComponent(path, -2));
|
||||||
if (!debugged[tabId]) {
|
if (!debugged[tabId]) {
|
||||||
|
@ -128,7 +128,7 @@ const router = {
|
||||||
return result.value.substr(offset, size)
|
return result.value.substr(offset, size)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tree": {
|
"resources": {
|
||||||
async opendir(path) {
|
async opendir(path) {
|
||||||
const tabId = parseInt(pathComponent(path, -2));
|
const tabId = parseInt(pathComponent(path, -2));
|
||||||
if (!debugged[tabId]) {
|
if (!debugged[tabId]) {
|
||||||
|
|
Loading…
Reference in a new issue