Skip to content

Commit

Permalink
updates; changed URL for chapter7 tweetshirt example
Browse files Browse the repository at this point in the history
  • Loading branch information
bethrobson committed Oct 11, 2012
1 parent e9cc0c8 commit 639cd99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chapter10/Mandel/mandellib.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function makePalette() {
return x;
}
for (i = 0; i <= this.max_iter; i++) {
this.palette.push([wrap(7*i), wrap(5*i), wrap(11*i)]);
palette.push([wrap(7*i), wrap(5*i), wrap(11*i)]);
}
}

Expand Down
2 changes: 1 addition & 1 deletion chapter2/planet.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
window.onload = init;
function init() {
var planet = document.getElementById("greenplanet");
planet.innerHTML = "Red Alert: hit by phaser file";
planet.innerHTML = "Red Alert: hit by phaser fire!";
}
</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion chapter6/JSONP/mightygumball.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function handleRefresh() {
console.log("here");
var url = "http://gumball.wickedlysmart.com" +
"?callback=updateSales" +
//"&lastreporttime=" + lastReportTime +
"&lastreporttime=" + lastReportTime +
"&random=" + (new Date()).getTime();
var newScriptElement = document.createElement("script");
newScriptElement.setAttribute("src", url);
Expand Down
3 changes: 1 addition & 2 deletions chapter7/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
</p>
</form>

<script src="http://twitter.com/statuses/user_timeline/timoreilly.json?callback=updateTweets">
</script>
<script src="http://tweetshirt.wickedlysmart.com/?callback=updateTweets"></script>

</body>
</html>
Expand Down

0 comments on commit 639cd99

Please sign in to comment.