mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
Add js sdk changes
With type declarations and various missing parts added by Willy-JL
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// import modules
|
||||
// caution: `eventLoop` HAS to be imported before `gui`, and `gui` HAS to be
|
||||
// imported before any `gui` submodules.
|
||||
import * as eventLoop from "@flipperdevices/fz-sdk/event_loop";
|
||||
import * as gui from "@flipperdevices/fz-sdk/gui";
|
||||
import * as dialog from "@flipperdevices/fz-sdk/gui/dialog";
|
||||
import * as eventLoop from "@darkflippers/fz-sdk-ul/event_loop";
|
||||
import * as gui from "@darkflippers/fz-sdk-ul/gui";
|
||||
import * as dialog from "@darkflippers/fz-sdk-ul/gui/dialog";
|
||||
|
||||
// a common pattern is to declare all the views that your app uses on one object
|
||||
const views = {
|
||||
|
||||
Reference in New Issue
Block a user