From 477baf3db7b44ebc57fb6be5a7ea766ef4bcd6ea Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 2 Apr 2013 12:14:09 +0200 Subject: [PATCH] http: Fix docs typo --- mopidy/frontends/http/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/frontends/http/__init__.py b/mopidy/frontends/http/__init__.py index 6160d47c..9bf482d2 100644 --- a/mopidy/frontends/http/__init__.py +++ b/mopidy/frontends/http/__init__.py @@ -427,7 +427,7 @@ Example to get started with .. code-block:: js - var consoleError = console.error.bind(error); + var consoleError = console.error.bind(console); var trackDesc = function (track) { return track.name + " by " + track.artists[0].name + @@ -457,7 +457,7 @@ Example to get started with .. code-block:: js - var consoleError = console.error.bind(error); + var consoleError = console.error.bind(console); var getFirst = function (list) { return list[0];