Updated PR: Promises -> State Transitions

Hi MarkFo, Jonas,

based on your pull request, Jonas, I edited the PR to move from the
Returning-Promises approach to returning
PresentationSession-In-Unknown-State approach. It'd be great if you
could take a look and review this proposal.

The PR is here:
https://github.com/webscreens/presentation-api/pull/25


The new example code can be found here:
http://drott.github.io/presentation-api/#example


And explanations following below:
http://drott.github.io/presentation-api/#starting-new-presentations


Other changes: I simplified the example and explanations to use an
auto-generated session.id.

Let's try to conclude on this issue and soon merge a version we can all
agree to.

Dominik

Received on Monday, 22 September 2014 13:21:23 UTC