mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 23:11:44 +08:00
Bundled output for commit f5c346f1c7
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
parent
f5c346f1c7
commit
e5d2b8cad9
9
framework/core/js/dist-typings/common/Application.d.ts
generated
vendored
9
framework/core/js/dist-typings/common/Application.d.ts
generated
vendored
|
@ -232,6 +232,15 @@ export default class Application {
|
|||
* By default, show an error alert, and log the error to the console.
|
||||
*/
|
||||
protected requestErrorCatch<ResponseType>(error: RequestError, customErrorHandler: FlarumRequestOptions<ResponseType>['errorHandler']): Promise<never>;
|
||||
/**
|
||||
* Used to modify the error message shown on the page to help troubleshooting.
|
||||
* While not certain, a failing cross-origin request likely indicates a missing redirect to Flarum canonical URL.
|
||||
* Because XHR errors do not expose CORS information, we can only compare the requested URL origin to the page origin.
|
||||
*
|
||||
* @param error
|
||||
* @protected
|
||||
*/
|
||||
protected requestWasCrossOrigin(error: RequestError): boolean;
|
||||
protected requestErrorDefaultHandler(e: unknown, isDebug: boolean, formattedErrors: string[]): void;
|
||||
private showDebug;
|
||||
/**
|
||||
|
|
2
framework/core/js/dist/admin.js
generated
vendored
2
framework/core/js/dist/admin.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/admin.js.map
generated
vendored
2
framework/core/js/dist/admin.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js
generated
vendored
2
framework/core/js/dist/forum.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js.map
generated
vendored
2
framework/core/js/dist/forum.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user