Skip to content

Commit

Permalink
rename connect event to sessionconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
mounirlamouri committed Jul 24, 2015
1 parent ee867d9 commit cccab34
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ <h3>
&lt;/head&gt;
&lt;script&gt;
navigator.presentation.defaultRequest = new PresentationRequest(defaultUrl);
navigator.presentation.defaultRequest.onconnect = function(evt) {
navigator.presentation.defaultRequest.onsessionconnect = function(evt) {
setSession(evt.session);
};
&lt;/script&gt;
Expand Down Expand Up @@ -945,7 +945,7 @@ <h3>
Promise&lt;PresentationSession&gt; join();
Promise&lt;PresentationAvailability&gt; getAvailability();

attribute EventHandler onconnect;
attribute EventHandler onsessionconnect;
};

</pre>
Expand Down Expand Up @@ -1343,10 +1343,10 @@ <h4>
<tbody>
<tr>
<td>
<dfn><code>onconnect</code></dfn>
<dfn><code>onsessionconnect</code></dfn>
</td>
<td>
<code>connect</code>
<code>sessionconnect</code>
</td>
</tr>
</tbody>
Expand All @@ -1368,7 +1368,7 @@ <h3>

</pre>
<p>
An event named <code>connect</code> is fired on a
An event named <code>sessionconnect</code> is fired on a
<a>PresentationRequest</a> when a session associated with the
object is initiated. It is fired at the <a>PresentationRequest</a>
instance, using the <a>PresentationSessionConnectEvent</a>
Expand Down Expand Up @@ -1427,8 +1427,8 @@ <h4>
UA wants to start or join a session from its UI, it MUST use the
<a>default presentation request</a>, using its internal
<a>presentation request url</a> and sending the
<code>connect</code> event as if the developer called the method
itself.
<code>sessionconnect</code> event as if the developer called the
method itself.
</p>
</section>
<section>
Expand Down

0 comments on commit cccab34

Please sign in to comment.