mopidy/mopidy
Stein Magnus Jodal 80a1c02614 docs: Bind console functions in JS examples
For e.g. ``console.log`` to be used as a callback, it must be bound to the
``console`` object first: ``console.log.bind(console)``. If not, this will
cause "Illegal invocation" errors in WebKit browsers.

This change updates all our Mopidy.js examples to bind ``console`` functions
before they are used as callbacks.

Fixes #298.
2013-03-03 20:13:01 +01:00
..
audio audio: Fix flake8 warning 2012-12-19 22:40:32 +01:00
backends Fix use of threading.Event for Python 2.6 and clear connected state. 2012-12-24 20:19:32 +01:00
core Return SearchResult objects from find_exact() and search() 2012-12-21 22:05:20 +01:00
frontends docs: Bind console functions in JS examples 2013-03-03 20:13:01 +01:00
utils settings: Fail if BACKENDS/FRONTENDS setting isn't iterable (fixes #278) 2012-12-23 15:42:49 +01:00
__init__.py Release v0.11.1 2012-12-24 20:23:51 +01:00
__main__.py Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
exceptions.py Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
models.py models: Add SearchResult model 2012-12-21 00:30:20 +01:00
scanner.py scanner: Better info logging 2012-12-12 12:22:53 +01:00
settings.py mpd: Add MPD_SERVER_CONNECTION_TIMEOUT setting 2012-12-19 23:47:22 +01:00