mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
Merge branch 'main' into v0.4
This commit is contained in:
commit
832a73d1a8
9 changed files with 18 additions and 20 deletions
|
@ -16,12 +16,8 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (typeof window === "undefined") {
|
||||
throw new Error("NodeJS is not supported. This only works inside the browser.");
|
||||
}
|
||||
|
||||
//everything is wrapped in a function to prevent emscripten from polluting the global scope
|
||||
window.libcurl = (function() {
|
||||
const libcurl = (function() {
|
||||
|
||||
//emscripten compiled code is inserted here
|
||||
/* __emscripten_output__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue