docs: JS block fix

This commit is contained in:
Ben Evans 2015-08-22 01:06:30 +01:00
parent 96d5039054
commit 9bc78ac10e

View File

@ -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