canmove, Confirmed users
409
edits
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 | 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> |