68
edits
(add mochitests to suites) |
(kinto-client has been renamed kinto-http) |
||
Line 20: | Line 20: | ||
= Usage = | = Usage = | ||
Leveraging the [https://github.com/Kinto/kinto- | Leveraging the [https://github.com/Kinto/kinto-http.js Kinto HTTP client] in Gecko looks like this: | ||
<pre> | <pre> | ||
Line 104: | Line 104: | ||
Two client libraries are embedded in Firefox: | Two client libraries are embedded in Firefox: | ||
* <code>Kinto/kinto- | * <code>Kinto/kinto-http.js</code>: for direct interactions with the Kinto HTTP API | ||
* <code>Kinto/kinto.js</code>: for offline persistence in internal SQLite | * <code>Kinto/kinto.js</code>: for offline persistence in internal SQLite | ||
Line 111: | Line 111: | ||
The Kinto client libraries are developed independently on Github: | The Kinto client libraries are developed independently on Github: | ||
* [https://github.com/Kinto/kinto- | * [https://github.com/Kinto/kinto-http.js kinto-http] is the HTTP client for the Kinto REST API; | ||
* [https://github.com/Kinto/kinto.js kinto.js] is the offline-first client for Kinto. | * [https://github.com/Kinto/kinto.js kinto.js] is the offline-first client for Kinto. | ||
Line 130: | Line 130: | ||
</pre> | </pre> | ||
==== kinto- | ==== kinto-http.js ==== | ||
From the kinto- | From the kinto-http.js repo, generate the <code>moz-kinto-http-client.js</code> file: | ||
<pre> | <pre> | ||
Line 214: | Line 214: | ||
=== Submit patch === | === Submit patch === | ||
> Patch are contributed to kinto.js and kinto- | > Patch are contributed to kinto.js and kinto-http.js, which are first released on NPM. | ||
'''DO NOT''' land files that are not tagged officially on upstream repositories. | '''DO NOT''' land files that are not tagged officially on upstream repositories. |
edits