1,007
edits
Changes
→Installing your classes into Weave
== Installing your classes into Weave ==
[TODO describe where to put all your code and how to make it into importable modules]
In the file <tt>weave/chrome/content/fx-weave-overlay.js</tt>, find the function <tt>FxWeaveGlue()</tt>, and within the <tt>try</tt> block import your Engine class, instantiate it, and register it with Weave. Like so: