Skip to content

Commit

Permalink
Updated CDN link to latest annyang
Browse files Browse the repository at this point in the history
  • Loading branch information
TalAter committed Nov 25, 2014
1 parent fca9919 commit 36699ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Technical Documentation and API

Hello World
-----------
It's as easy as adding [one javascript file](//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js) to your document, and defining the commands you want.
It's as easy as adding [one javascript file](//cdnjs.cloudflare.com/ajax/libs/annyang/1.5.0/annyang.min.js) to your document, and defining the commands you want.
````html
<script src="//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/annyang/1.5.0/annyang.min.js"></script>
<script>
if (annyang) {
// Let's define a command.
Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if (/localhost/.exec(window.location)) {
annyangScript.src = "//localhost:8443/annyang.js"
} else {
annyangScript.src = "//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js"
annyangScript.src = "//cdnjs.cloudflare.com/ajax/libs/annyang/1.5.0/annyang.min.js"
}
document.write(annyangScript.outerHTML)
</script>
Expand Down Expand Up @@ -135,7 +135,7 @@ <h2>annyang supports multiple languages, has no dependencies, weighs just 2kb an
<section id="section_code_sample_1">
<p><em>How did you do that?</em></p>
<p>Simple. Here is all the code needed to achieve that:</p>
<pre><code>&lt;script src="<a href="//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js">//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js</a>"&gt;&lt;/script&gt;
<pre><code>&lt;script src="<a href="//cdnjs.cloudflare.com/ajax/libs/annyang/1.5.0/annyang.min.js">//cdnjs.cloudflare.com/ajax/libs/annyang/1.4.0/annyang.min.js</a>"&gt;&lt;/script&gt;
&lt;script&gt;
if (annyang) {
// Let's define our first command. First the text we expect, and then the function it should call
Expand Down

0 comments on commit 36699ef

Please sign in to comment.