nit: Fix some minor capitalization mistakes

This commit is contained in:
Lord-McSweeney 2024-01-24 23:02:11 -08:00 committed by TÖRÖK Attila
parent 917c1c08f7
commit 38d58552f2
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ in ActionScript classes in playerglobal. During the build process, we automatica
generate a reference to a Rust function at the corresponding path in Ruffle.
For example, the native method function `flash.system.Security.allowDomain`
expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allowDomain`.
expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allow_domain`.
This function is cast to a `NativeMethodImpl` function pointer, exactly like
functions defined on a pure-Rust class definition.
@ -65,7 +65,7 @@ See `flash/events/Event.as` for an example
## API Versioning
Ruffle supports Flash's Api versioning, which hides newer playerglobal definitions
Ruffle supports Flash's API versioning, which hides newer playerglobal definitions
(including methods/properties) from SWFs compiled with older API versions.
For example, see `Event.WORKER_STATE`