Permalink
Browse files

New server URL

  • Loading branch information...
1 parent 7c1c691 commit df45271c233f20d94db537e51af1f22a5483c7b2 @luisivan luisivan committed May 6, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 example.html
  2. +1 −1 holaio.js
  3. +1 −1 holaio.min.js
View
@@ -7,7 +7,7 @@
<body>
<textarea id="code" style="width:1000px; height:300px;">Waiting...</textarea>
<ul id="links"></ul>
-<script src="holaio.js"></script>
+<script src="holaio.min.js"></script>
<script>
show = function(err, json) {
code = JSON.stringify (json);
@@ -22,7 +22,7 @@
}
window.onload = function() {
- var holaio = new HolaIO("YOURAPIKEY");
+ var holaio = new HolaIO("yourapikey");
holaio.get("google.com", "a span", true, false, show);
}
</script>
View
@@ -2,7 +2,7 @@
HolaIO = function(key) {
this.key = key;
- this.serverurl = "https://api.io.holalabs.com/";
+ this.serverurl = "https://api.holalabs.com/io/";
this.doRequest = function(url, callback) {
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit df45271

Please sign in to comment.