Fix minor typo in NSD API spec examples
authorRich Tibbett <richt@opera.com>
Tue, 23 Jul 2013 18:40:39 +1000
changeset 438d66ca00fe7d9
parent 437 d25229263a68
child 439 630eb296aaf9
Fix minor typo in NSD API spec examples
discovery-api/Overview.html
discovery-api/Overview.src.html
     1.1 --- a/discovery-api/Overview.html	Tue Jul 23 18:33:30 2013 +1000
     1.2 +++ b/discovery-api/Overview.html	Tue Jul 23 18:40:39 2013 +1000
     1.3 @@ -222,7 +222,7 @@
     1.4        </h1>
     1.5        <h2 property="dcterms:issued"
     1.6            datatype="xsd:dateTime"
     1.7 -          content="2013-07-22T22:28:45.000Z"
     1.8 +          content="2013-07-22T22:39:30.000Z"
     1.9            id="w3c-editor-s-draft-23-july-2013">
    1.10          <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published"
    1.11              datetime="2013-07-23">23 July 2013</time>
    1.12 @@ -2627,7 +2627,7 @@
    1.13  "pun">.</span><span class="pln">getNetworkServices</span><span class="pun">)</span><span class=
    1.14  "pln"> </span><span class="pun">{</span><span class="pln">
    1.15        navigator</span><span class="pun">.</span><span class="pln">getNetworkServices</span><span class=
    1.16 -"pun">(</span><span class="str">'zeroconf:_xbmc-jsonrpc._tcp'</span><span class="pun">.</span><span class=
    1.17 +"pun">(</span><span class="str">'zeroconf:_xbmc-jsonrpc._tcp'</span><span class="pun">).</span><span class=
    1.18  "pln">then</span><span class="pun">(</span><span class="pln">gotXBMCService</span><span class=
    1.19  "pun">).</span><span class="kwd">catch</span><span class="pun">(</span><span class="pln">error</span><span class=
    1.20  "pun">);</span><span class="pln">
     2.1 --- a/discovery-api/Overview.src.html	Tue Jul 23 18:33:30 2013 +1000
     2.2 +++ b/discovery-api/Overview.src.html	Tue Jul 23 18:40:39 2013 +1000
     2.3 @@ -1866,7 +1866,7 @@
     2.4  
     2.5   function start() {
     2.6     if(navigator.getNetworkServices) {
     2.7 -      navigator.getNetworkServices('zeroconf:_xbmc-jsonrpc._tcp'.then(gotXBMCService).catch(error);
     2.8 +      navigator.getNetworkServices('zeroconf:_xbmc-jsonrpc._tcp').then(gotXBMCService).catch(error);
     2.9        startBtn.disabled = true;
    2.10     } else {
    2.11        debug.innerHTML += "&lt;br&gt;Service Discovery not supported!";