From 9bc78ac10e443bd74998a659eb9a66032d727b23 Mon Sep 17 00:00:00 2001 From: Ben Evans Date: Sat, 22 Aug 2015 01:06:30 +0100 Subject: [PATCH] docs: JS block fix --- docs/api/js.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/js.rst b/docs/api/js.rst index 6a8e0fcd..856f2db4 100644 --- a/docs/api/js.rst +++ b/docs/api/js.rst @@ -256,7 +256,7 @@ chain. The function will be called with the error object as the only argument: .. code-block:: js mopidy.playback.getCurrentTrack() - .catch(console.error.bind(console)); + .catch(console.error.bind(console)) .done(printCurrentTrack); You can also register the error handler at the end of the promise chain by