diff --git a/applications/system/js_app/examples/apps/Scripts/Examples/path.js b/applications/system/js_app/examples/apps/Scripts/Examples/path.js index 0381150d2..9d3159d9f 100644 --- a/applications/system/js_app/examples/apps/Scripts/Examples/path.js +++ b/applications/system/js_app/examples/apps/Scripts/Examples/path.js @@ -2,7 +2,7 @@ let storage = require("storage"); print("script has __dirpath of" + __dirpath); print("script has __filepath of" + __filepath); -if (storage.exists(__dirpath + "/math.js")) { +if (storage.fileExists(__dirpath + "/math.js")) { print("math.js exist here."); } else { print("math.js does not exist here."); diff --git a/applications/system/js_app/types/gui/byte_input.ts b/applications/system/js_app/types/gui/byte_input.d.ts similarity index 100% rename from applications/system/js_app/types/gui/byte_input.ts rename to applications/system/js_app/types/gui/byte_input.d.ts