dap commit: Fix minor typo in NSD API spec examples

changeset:   438:d66ca00fe7d9
tag:         tip
user:        Rich Tibbett <richt@opera.com>
date:        Tue Jul 23 18:40:39 2013 +1000
files:       discovery-api/Overview.html discovery-api/Overview.src.html
description:
Fix minor typo in NSD API spec examples


diff -r d25229263a68 -r d66ca00fe7d9 discovery-api/Overview.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">
diff -r d25229263a68 -r d66ca00fe7d9 discovery-api/Overview.src.html
--- 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!";

Received on Tuesday, 23 July 2013 08:40:54 UTC