node build fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/// <reference path="../doc.d.ts" />
|
||||
|
||||
class Provider {
|
||||
async test() {
|
||||
try {
|
||||
const data = await fetch("https://cryptojs.gitbook.io/docs")
|
||||
|
||||
const $ = LoadDoc(await data.text())
|
||||
|
||||
console.log($("header h1").text())
|
||||
}
|
||||
catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user