Changes

Jump to: navigation, search

CloudServices/Sync/FxSync/Developer/ClientAPI

13 bytes added, 09:53, 30 January 2009
Installing your classes into Weave
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:
<pre>
function FxWeaveGlue() {
//... etc ...
} catch (e) {
//... etc ...
</pre>
To make your engine work in Fennec, you must also add the same code to the function <tt>FennecWeaveGlue()</tt> in the file <tt>weave/chrome/content/fennec-weave-overlay.js</tt>.
1,007
edits

Navigation menu