This repository has been archived by the owner on May 11, 2021. It is now read-only.
Add main
function to Cilantro
#754
Labels
main
function to Cilantro
#754
The
cilantro.js
file contains thecilantro
object that consumers can bind to for events. However, the module triggers theinit
event which means no consumer can actually bind to it before the module is loaded.This issue proposes adding a
main
function tocilantro
that can be called by the consumer to initialize the application. This enables thecilantro
module to be loaded, bound to, and configured. Finally the consumer can callcilantro.main()
to kick off the events.The text was updated successfully, but these errors were encountered: