mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00

* feat(http): binary upload support * feat(http): better binary support & XHR support * fix: linting issue * chore: moved files from old place to the new one * chore: Updated NativeScript.api.md * feat(http): support both ByteBuffer and String Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
7 lines
227 B
TypeScript
7 lines
227 B
TypeScript
import "../../core";
|
|
import { installPolyfills } from "../polyfill-helpers";
|
|
|
|
global.registerModule("xhr", () => require("../../../xhr"));
|
|
|
|
installPolyfills("xhr", ["XMLHttpRequest", "FormData", "Blob", "File", "FileReader"]);
|