From 33e829f633e4eba89749d51f9eb35c294ab841fd Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Sat, 15 Mar 2025 19:41:59 +0800 Subject: [PATCH] fix typoes --- docs/apidoc/index.md | 2 +- docs/apidoc/promisify.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apidoc/index.md b/docs/apidoc/index.md index e837af5..d1665ca 100644 --- a/docs/apidoc/index.md +++ b/docs/apidoc/index.md @@ -99,7 +99,7 @@ The ModAPI object has the following methods: - Gets the frames per second of the game - `promisify(asyncJavaMethod: Method | Constructor) : PromisifiedJavaRunner` - Allows running java methods that are @Async/@Async dependent. - - More [PromisifyDocumentation](promisify.md) + - More: [PromisifyDocumentation](promisify.md) - `addCredit(category: String, contributor: String, contents: String)` - Lets you easily add credits to Eaglercraft's credits.txt - eg: `ModAPI.addCredit("My Cool Mod", "Username", " - Coded the mod\n - Wrote somne credits")` diff --git a/docs/apidoc/promisify.md b/docs/apidoc/promisify.md index 46dd7ec..195e108 100644 --- a/docs/apidoc/promisify.md +++ b/docs/apidoc/promisify.md @@ -31,7 +31,7 @@ var asyncDownloadRemoteURI = ModAPI.promisify(ModAPI.hooks.methods.nlevi_Platfor console.log(typeof asyncDownloadRemoteURI); //Logs function ``` -When it is called, like any other asyncronoush function, it returns a `Promise` object. +When it is called, like any other asyncronous function, it returns a `Promise` object. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise You can replace the argument with any other method or constructor, including non asynchronous ones. \ No newline at end of file