Skip to content

More detailed explanation for function prepareInterface() #701

@docahrens

Description

@docahrens

The last example including the function prepareInterface() looks like a great example with lots to learn, but the explanation of the most difficult aspect of the example is lacking. In regard to prepareInterface(), it says:
"The application also has a function (prepareInterface()) which returns a promise to complete animating our containers for both the news and reactions."

It would be very useful to see a much more detailed explanation of what is happening in prepareInterface() and how it is useful. I am new to the idea of deferreds and promises, and unfortunately, it was not at all obvious to me what is happening in that method. Seems like a tutorial would be an excellent place for such an explanation...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions