Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in "progress" example #95

Closed
AnthonyKNorman opened this issue Oct 15, 2018 · 1 comment
Closed

Error in "progress" example #95

AnthonyKNorman opened this issue Oct 15, 2018 · 1 comment

Comments

@AnthonyKNorman
Copy link

Creates error when uploading to ESP8266

# Break: require: module "commodetto/parseRLE" not found!
C:\Users\antho\moddable\examples\commodetto\progress\main.js (34) # Break: C:\Users\antho\moddable\examples\commodetto\progress\main.js: get parseRLE: undefined variable!

Fix:
change line 21 from

import parseRLE from "commodetto/parseRLE";

to

import ParseRLE from "commodetto/ParseRLE";

and line 34 from

let spinner = parseRLE(new Resource("spinner-strip-80px-24cell-blue-alpha.bm4"));

to

let spinner = ParseRLE(new Resource("spinner-strip-80px-24cell-blue-alpha.bm4"));
@bfriedkin
Copy link
Collaborator

Hello -

Thank you again for the report. The fix will be rolled into our next Open Source update.

Regards,
Brian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants