Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Add main function to Cilantro #754

Open
bruth opened this issue Dec 29, 2014 · 0 comments
Open

Add main function to Cilantro #754

bruth opened this issue Dec 29, 2014 · 0 comments

Comments

@bruth
Copy link
Contributor

bruth commented Dec 29, 2014

The cilantro.js file contains the cilantro object that consumers can bind to for events. However, the module triggers the init event which means no consumer can actually bind to it before the module is loaded.

This issue proposes adding a main function to cilantro that can be called by the consumer to initialize the application. This enables the cilantro module to be loaded, bound to, and configured. Finally the consumer can call cilantro.main() to kick off the events.

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

No branches or pull requests

1 participant