Learning the Snap! source code

This topic is for people learning the Snap! source code.

What you can do here

Post helpful tips about the Snap! source code
Ask questions about the Snap! source code
Answer questions about the Snap! source code

Question: What is stored in IDE_Morph.cloud?

@snapenilk would you know?

undefined
If you mean this.parentThatIsA(IDE_Morph).cloud:

String apiBasePath

I don't know what this is.

Boolean disabled

I don't know what could be disabled.

Function message(string)

Displays string with white text in a black box with a white border for two seconds.

String url

It leads to a 404 error page.

String username

The username currently using Snap! in this session

Boolean verified

true if the user is verified by email or with a project

The base path of the API., probably something like /api/v1

Whether or not the cloud is disabled

Thanks @snapenilk @programmer_user that helps a lot.

Bump.

Where is the script for the write block? I can't find it in threads.js

objects.js

Thanks!