Skip to content

Commit

Permalink
docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
studentIvan committed Jan 15, 2015
1 parent dce3950 commit 330a0d7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
API
===

Installing DuelJS
-----------------

test
16 changes: 14 additions & 2 deletions docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ So we've got all the set up out of the way. Let's write some simple code.

Broadcasting
------------

When your tab had some channel (e.g. **my_first_channel** from previous section) you can do cross-tab broadcasting.

Use simple commands:
Expand All @@ -57,6 +58,17 @@ Use simple commands:
* **channel.once('event_name', function (a,r,g,u,m,e,n,t,s...) { do here what you want });**
- define watcher for event_name, do it only one time and remove.

If you still need more docs go to `API`_ section and study it
YouTube player example
----------------------

Look at youtube-player integration demonstration on the russian language `here`_.

Articles
--------

* `Задача коммуникации между вкладками и выявления активной вкладки <http://habrahabr.ru/post/247739/>`_ (russian)

If you still need more docs go to `API`_ section

.. _API: api
.. _here: http://dueljs.studentivan.ru/youtube_player_example/
.. _API: api.html

0 comments on commit 330a0d7

Please sign in to comment.