diff options
author | Florent Gallaire <[email protected]> | 2013-11-11 02:16:50 +0100 |
---|---|---|
committer | Florent Gallaire <[email protected]> | 2014-02-20 00:05:29 +0100 |
commit | 148b6fe476e35e9e8db448d6dc73d57a3b23e800 (patch) | |
tree | af917b87e683ce638dc02bd50ac8bab38d9b4bc7 /README.md | |
parent | 5bf494144cf4f86e85cd80bfd8c7aa495a4e2209 (diff) | |
download | bullet-148b6fe476e35e9e8db448d6dc73d57a3b23e800.tar.gz bullet-148b6fe476e35e9e8db448d6dc73d57a3b23e800.tar.bz2 bullet-148b6fe476e35e9e8db448d6dc73d57a3b23e800.zip |
DRY url.replace().
Automatically disable WebSocket when the URL begins with 'http'.
Update the README with the new 'http' url syntax.
Update the clock example with the new 'http' url syntax.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -114,9 +114,12 @@ $(document).ready(function(){ }); ``` -Always use the WebSocket (ws:) form for your bullet URLs and Bullet +Use the WebSocket (ws:) form for your bullet URLs and Bullet will change the URL as needed for non-WebSocket transports. +Use the standard (http:) form for your bullet URLs and Bullet +will only try non-WebSocket transports. + The `$.bullet` function takes an optional second 'options' object. The following properties are supported: |