mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 14:00:01 -04:00
update docs to include needed deps
This commit is contained in:
parent
717331bfc1
commit
23d1651383
3 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
//everything is wrapped in a function to prevent emscripten from polluting the global scope
|
||||
window.libcurl = (function() {
|
||||
|
||||
if (typeof window === "undefined") {
|
||||
throw new Error("NodeJS is not supported. This only works inside the browser.");
|
||||
}
|
||||
|
||||
//emscripten compiled code is inserted here
|
||||
/* __emscripten_output__ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue