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