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

[Cloud] is not defined #23

Closed
pastukhov opened this issue Sep 25, 2015 · 2 comments
Closed

[Cloud] is not defined #23

pastukhov opened this issue Sep 25, 2015 · 2 comments
Assignees

Comments

@pastukhov
Copy link

Scanning nets 
Device id: //api.cesanta.com/d/dev_50648 
Device psk: psk_0805 
Cloud: //api.cesanta.com 

smartjs 29888/2244$ Joining MY_WiFi 
Cloud.store('temperature', 36.6)
Exec error:{"message":"[Cloud] is not defined"}
smartjs 29392/2364$ 
@pastukhov
Copy link
Author

Why?
I'm still getting [Cloud] is not defined

@mkmik
Copy link
Contributor

mkmik commented Oct 2, 2015

The file defining Cloud is not loaded by default.

See https://github.com/cesanta/smart.js/blob/master/src/js/user.js#L3

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

3 participants