CloudServices/Sync/FxSync/Developer/ClientAPI: Difference between revisions

Jump to navigation Jump to search
m
formatting
m (formatting)
Line 18: Line 18:
== Setting up a JS Module ==
== Setting up a JS Module ==


The code for your custom sync engine should live in a <a href="https://developer.mozilla.org/en/Using_JavaScript_code_modules">JS module</a>. First off we're going to import the files mentioned above at the top the file. We're also going to import <tt>util.js</tt> as it contains many useful helpers.
The code for your custom sync engine should live in a [https://developer.mozilla.org/en/Using_JavaScript_code_modules JS module]. First off we're going to import the files mentioned above at the top the file. We're also going to import ''util.js'' as it contains many useful helpers.


<pre>
<pre>
canmove, Confirmed users
409

edits

Navigation menu