zotero/chrome/content
Dan Stillman b5bc18c7ed Add new init(options) signature for server endpoints
An endpoint can now take a single object containing 'method', 'pathname',
'query', 'headers', and 'data' and return an integer, an array containing
[statusCode, contentType, body], or a promise for either. This allows the
handlers to use the HTTP method and headers and removes the need for callbacks
when some handlers already use coroutine().

If init() returns a promise, it now has to use the new single-parameter
signature (because the check is done with Function.length, and combining
promises and callbacks doesn't make sense anyway).
2016-12-05 02:55:32 -05:00
..
zotero Add new init(options) signature for server endpoints 2016-12-05 02:55:32 -05:00
zotero-platform Add a second horizontal layout to Zotero for small screens (#1010) 2016-05-27 20:57:29 -04:00