Merge pull request #1263 from bencevans/patch-1

docs: Fix syntax error in JavaScript example
This commit is contained in:
Stein Magnus Jodal 2015-08-22 09:45:55 +02:00
commit db765c7a0c

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