Fix JS typedocs references

This commit is contained in:
Willy-JL
2024-10-31 19:03:12 +00:00
parent 10127bfc9e
commit 1d52b65868
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
- `to_upper_case()` and `to_lower_case()` renamed and moved to string class as `s.toUpperCase()` and `s.toLowerCase()`
- effort required to update old scripts using these: minimal
- Added type definitions (typescript files for type checking in IDE, Flipper does not run typescript)
- Documentation is incomplete and deprecated, from now on you should refer to type definitions (`applications/system/js_app/types`), those will always be correct
- Documentation is incomplete and deprecated, from now on you should refer to type definitions (`applications/system/js_app/packages/fz-sdk`), those will always be correct
- Type definitions for extra modules we have that OFW doesn't will come later
- GUI: Refactored TextInput illegal symbols (by @Willy-JL)
- If your app used `text_input_add_illegal_symbols(text_input)` it should change to `text_input_show_illegal_symbols(text_input, true)`

View File

@@ -2,7 +2,7 @@
# JavaScript scripting API (WIP)
> [!IMPORTANT]
> This documentation is deprecated! You should now look at type info in `applications/system/js_app/types` and examples in `applications/system/js_app/examples/apps/Scripts`.
> This documentation is deprecated! You should now look at type info in `applications/system/js_app/packages/fz-sdk` and examples in `applications/system/js_app/examples/apps/Scripts`.
> Human readable documentation will eventually be derived from this type information.
> For now, old documentation is still available here and in `documentation/js`, but it may be inaccurate or missing.