mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 03:05:38 -05:00
Updated polyscript to its latest (#1982)
This commit is contained in:
committed by
GitHub
parent
5bed5ede52
commit
84f197b657
@@ -1,7 +1,10 @@
|
||||
import { FetchError, ErrorCode } from "./exceptions.js";
|
||||
import { getText } from "polyscript/exports";
|
||||
|
||||
export { getText };
|
||||
/**
|
||||
* @param {Response} response
|
||||
* @returns
|
||||
*/
|
||||
export const getText = (response) => response.text();
|
||||
|
||||
/**
|
||||
* This is a fetch wrapper that handles any non 200 responses and throws a
|
||||
|
||||
Reference in New Issue
Block a user