Commit Graph

32 Commits

Author SHA1 Message Date
Stein Magnus Jodal
cbb68f9cbe 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-01-03 23:18:56 +01:00
Stein Magnus Jodal
a084105898 docs: Use requirement files as single source of dependencies 2012-12-15 23:07:29 +01:00
Stein Magnus Jodal
0c6de005a0 docs: Fix typo 2012-12-13 02:07:24 +01:00
Stein Magnus Jodal
daa56e6567 docs: Fix typo 2012-12-13 02:06:05 +01:00
Stein Magnus Jodal
fe2adfae73 docs: Fix syntax error in example 2012-12-13 02:02:16 +01:00
Stein Magnus Jodal
b14c89dbf1 js: Make connect() public, and document autoConnect/connect() 2012-12-04 13:23:43 +01:00
Stein Magnus Jodal
68a6f2f8aa js: Doc how to clean up after Mopidy.js 2012-12-04 09:23:32 +01:00
Stein Magnus Jodal
126b7815d0 js: Document parameter handling 2012-12-03 23:08:40 +01:00
Stein Magnus Jodal
ddd3d6ba98 js: 'params' and 'description' is from the Python API 2012-12-03 23:05:25 +01:00
Stein Magnus Jodal
d860ab0ae0 js: Document behavior on calls when we're offline 2012-12-03 23:02:24 +01:00
Stein Magnus Jodal
b5c5bcd645 js: Fix grammatical error 2012-12-03 22:59:01 +01:00
Stein Magnus Jodal
dd9f0497ea js: Document Mopidy.js usage 2012-12-03 00:06:44 +01:00
Stein Magnus Jodal
430d604509 http: Revised the HTTP frontend docs 2012-11-30 23:50:55 +01:00
Stein Magnus Jodal
0423d5289b http: Mark security and API stability sections as warnings 2012-11-30 18:26:25 +01:00
Stein Magnus Jodal
b4ad0b0830 http: Move WebSocket to /mopidy/ws/ 2012-11-28 15:59:08 +01:00
Stein Magnus Jodal
b1fe802473 http: Doc API instability 2012-11-28 15:21:53 +01:00
Stein Magnus Jodal
f7eaa48868 http: Doc WebSocket messaging formats 2012-11-28 15:21:38 +01:00
Stein Magnus Jodal
27291c8fac http: Doc security considerations 2012-11-28 15:21:13 +01:00
Stein Magnus Jodal
db5c671bd4 http: Remove the REST API 2012-11-21 02:10:32 +01:00
Stein Magnus Jodal
a2259fad57 http: Add static files hosting 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
256c5a8179 http: Document existence of the new frontend 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
9b90e64dfb http: Move frontend actor to new module 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
92dc974028 http: Move web service code to new module 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
37ab7c766d http: Move web socket code to new module 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
5b8f391bc7 http: Exit CherryPy engine properly 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
e41f9e3871 http: Working WebSockets which emits playback state changes 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
dda5ee42f0 http: Turn off autoreloading 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
4d5122094f http: Start the CherryPy bus, and not just the server 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
5d8929986d http: Encode the hostname to a str 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
509c7c82ea http: Only include cherrypy in debug log 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
e5053c929a http: Add HTTP_SERVER_{HOSTNAME,PORT} settings 2012-11-09 14:23:26 +01:00
Stein Magnus Jodal
93f6378cf5 http: Rename frontend to simply 'HttpFrontend' 2012-11-09 14:23:26 +01:00