Skip to content

Commit

Permalink
switch to yarn over npm
Browse files Browse the repository at this point in the history
  - upgrade dependencies
  • Loading branch information
Paul Sastrasinh committed Mar 15, 2017
1 parent 20f02da commit 4286987
Show file tree
Hide file tree
Showing 8 changed files with 4,000 additions and 14 deletions.
4 changes: 2 additions & 2 deletions examples/default.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/flatly_triple.html
Expand Up @@ -1906,4 +1906,4 @@
"<span class=hljs-attribute>type</span>": <span class=hljs-value><span class=hljs-string>"string"</span>
</span>}
</span>}
</span>}</code></pre><div style=height:1px></div></div></div></div></div></div></div><div class=middle><div id=asynchronous-get-1 class="action get"><h4 class=action-heading><div class=name>Checks the status of the specified asynchronous job</div><a href=#asynchronous-get-1 class="method get">GET</a><code class=uri>/speech-to-text/api/v1/recognitions/{id}</code></h4><p>Returns information about the specified job. The response always includes the status of the job. If the status is <code>completed</code>, the response includes the results of the recognition request; otherwise, the response includes the job ID. You must submit the request with the service credentials of the user who created the job.<p>You can use the method to retrieve the results of any job, regardless of whether it was submitted with a callback URL and the <code>recognitions.completed_with_results</code> event, and you can retrieve the results multiple times for as long as they remain available.<p><b>Note:</b> This method is currently a beta release that supports US English only.<div class=title><strong>URI Parameters</strong></div><div><dl class=inner><dt style="padding:.2em 0">id<dd style="padding:.2em 0"><code>string</code>&nbsp;<span class=required>(required)</span>&nbsp;<p>The ID of the job whose status is to be checked.</dl></div></div></div><hr class=split></div></div></div><script>"use strict";function endsWith(e,t){return e.indexOf(t,e.length-t.length)!==-1}function childrenByClass(e,t){for(var n=[],o=0;o<e.children.length;o++){var l=e.children[o],a=l.className.split(" ");a.indexOf(t)!==-1&&n.push(l)}return n}function getWindowDimensions(){var e=window,t=document,n=t.documentElement,o=t.body,l=e.innerWidth||n.clientWidth||o.clientWidth,a=e.innerHeight||n.clientHeight||o.clientHeight;return[l,a]}function toggleCollapseButton(e){var t=e.target.parentNode,n=t.parentNode.nextSibling,o=n.children[0];t.className.indexOf("collapse-button")!==-1&&(n.style.maxHeight&&"0px"!==n.style.maxHeight?(t.className="collapse-button",n.style.maxHeight="0px"):(t.className="collapse-button show",n.style.maxHeight=o.offsetHeight+12+"px"))}function toggleTabButton(e){var t,n,o=e.target,l=childrenByClass(o.parentNode,"tab-button");for(t=0;t<l.length;t++)l[t]===o?(n=t,o.className="tab-button active"):l[t].className="tab-button";var a=childrenByClass(o.parentNode.parentNode,"tab");for(t=0;t<a.length;t++)t===n?a[t].style.display="block":a[t].style.display="none"}function toggleCollapseNav(e,t){var n=e.target.parentNode,o=n.nextSibling,l=o.children[0];n.className.indexOf("heading")!==-1&&(o.style.maxHeight&&"0px"!==o.style.maxHeight?(t||window.location.hash&&endsWith(e.target.href,window.location.hash))&&(o.style.maxHeight="0px"):o.style.maxHeight=l.offsetHeight+12+"px")}function refresh(e){document.querySelector("body").className="preload",document.body.innerHTML=e,init(),autoCollapse(),document.querySelector("body").className=""}function autoCollapse(){var e=getWindowDimensions()[1],t=64,n=Array.prototype.slice.call(document.querySelectorAll("nav .resource-group .heading"));n.forEach(function(e){t+=e.parentNode.offsetHeight});for(var o=n.sort(function(e,t){return e.parentNode.offsetHeight-t.parentNode.offsetHeight});o.length&&t>e;)for(var l=0;l<o.length;l++){var a=o[l].nextSibling.offsetHeight;if(t-a<=e||l===o.length-1){t-=a,toggleCollapseNav({target:o[l].children[0]},!0),o.splice(l,1);break}}}function init(){var e,t,n=document.querySelectorAll(".collapse-button");for(e=0;e<n.length;e++)n[e].onclick=toggleCollapseButton,n[e].className.indexOf("show")!==-1&&toggleCollapseButton({target:n[e].children[0]});var o=document.querySelectorAll(".example-names");for(e=0;e<o.length;e++){var l=childrenByClass(o[e],"tab-button");for(t=0;t<l.length;t++)l[t].onclick=toggleTabButton,0===t&&toggleTabButton({target:l[t]})}var a=document.querySelectorAll("nav .resource-group .heading");for(e=0;e<a.length;e++)a[e].onclick=toggleCollapseNav,toggleCollapseNav({target:a[e].children[0]})}init(),window.onload=function(){autoCollapse(),document.querySelector("body").className=""}</script><script src=/reload/reload.js></script>
</span>}</code></pre><div style=height:1px></div></div></div></div></div></div></div><div class=middle><div id=asynchronous-get-1 class="action get"><h4 class=action-heading><div class=name>Checks the status of the specified asynchronous job</div><a href=#asynchronous-get-1 class="method get">GET</a><code class=uri>/speech-to-text/api/v1/recognitions/{id}</code></h4><p>Returns information about the specified job. The response always includes the status of the job. If the status is <code>completed</code>, the response includes the results of the recognition request; otherwise, the response includes the job ID. You must submit the request with the service credentials of the user who created the job.<p>You can use the method to retrieve the results of any job, regardless of whether it was submitted with a callback URL and the <code>recognitions.completed_with_results</code> event, and you can retrieve the results multiple times for as long as they remain available.<p><b>Note:</b> This method is currently a beta release that supports US English only.<div class=title><strong>URI Parameters</strong></div><div><dl class=inner><dt style="padding:.2em 0">id<dd style="padding:.2em 0"><code>string</code>&nbsp;<span class=required>(required)</span>&nbsp;<p>The ID of the job whose status is to be checked.</dl></div></div></div><hr class=split></div></div></div><script>"use strict";function endsWith(e,t){return e.indexOf(t,e.length-t.length)!==-1}function childrenByClass(e,t){for(var n=[],o=0;o<e.children.length;o++){var l=e.children[o];l.className.split(" ").indexOf(t)!==-1&&n.push(l)}return n}function getWindowDimensions(){var e=window,t=document,n=t.documentElement,o=t.body;return[e.innerWidth||n.clientWidth||o.clientWidth,e.innerHeight||n.clientHeight||o.clientHeight]}function toggleCollapseButton(e){var t=e.target.parentNode,n=t.parentNode.nextSibling,o=n.children[0];t.className.indexOf("collapse-button")!==-1&&(n.style.maxHeight&&"0px"!==n.style.maxHeight?(t.className="collapse-button",n.style.maxHeight="0px"):(t.className="collapse-button show",n.style.maxHeight=o.offsetHeight+12+"px"))}function toggleTabButton(e){var t,n,o=e.target,l=childrenByClass(o.parentNode,"tab-button");for(t=0;t<l.length;t++)l[t]===o?(n=t,o.className="tab-button active"):l[t].className="tab-button";var a=childrenByClass(o.parentNode.parentNode,"tab");for(t=0;t<a.length;t++)a[t].style.display=t===n?"block":"none"}function toggleCollapseNav(e,t){var n=e.target.parentNode,o=n.nextSibling,l=o.children[0];n.className.indexOf("heading")!==-1&&(o.style.maxHeight&&"0px"!==o.style.maxHeight?(t||window.location.hash&&endsWith(e.target.href,window.location.hash))&&(o.style.maxHeight="0px"):o.style.maxHeight=l.offsetHeight+12+"px")}function refresh(e){document.querySelector("body").className="preload",document.body.innerHTML=e,init(),autoCollapse(),document.querySelector("body").className=""}function autoCollapse(){var e=getWindowDimensions()[1],t=64,n=Array.prototype.slice.call(document.querySelectorAll("nav .resource-group .heading"));n.forEach(function(e){t+=e.parentNode.offsetHeight});for(var o=n.sort(function(e,t){return e.parentNode.offsetHeight-t.parentNode.offsetHeight});o.length&&t>e;)for(var l=0;l<o.length;l++){var a=o[l].nextSibling.offsetHeight;if(t-a<=e||l===o.length-1){t-=a,toggleCollapseNav({target:o[l].children[0]},!0),o.splice(l,1);break}}}function init(){var e,t,n=document.querySelectorAll(".collapse-button");for(e=0;e<n.length;e++)n[e].onclick=toggleCollapseButton,n[e].className.indexOf("show")!==-1&&toggleCollapseButton({target:n[e].children[0]});var o=document.querySelectorAll(".example-names");for(e=0;e<o.length;e++){var l=childrenByClass(o[e],"tab-button");for(t=0;t<l.length;t++)l[t].onclick=toggleTabButton,0===t&&toggleTabButton({target:l[t]})}var a=document.querySelectorAll("nav .resource-group .heading");for(e=0;e<a.length;e++)a[e].onclick=toggleCollapseNav,toggleCollapseNav({target:a[e].children[0]})}init(),window.onload=function(){autoCollapse(),document.querySelector("body").className=""}</script><script src=/reload/reload.js></script>
4 changes: 2 additions & 2 deletions examples/slate_triple.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/slate_wide.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/streak_triple.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/streak_wide.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -45,13 +45,13 @@
"eslint": "^3.0.1",
"express": "^4.14.0",
"istanbul": "^0.4.4",
"mocha": "^2.5.3",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.2.0",
"morgan": "^1.7.0",
"reload": "^1.0.0",
"semantic-release": "^4.3.5",
"semantic-release": "^6.3.2",
"serve-index": "^1.8.0",
"serve-static": "^1.11.1",
"watch": "^0.19.1"
"watch": "^1.0.2"
}
}

0 comments on commit 4286987

Please sign in to comment.