Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
Added the README.txt to the html.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Waterman committed Dec 3, 2013
1 parent 6e01234 commit a0c6f25
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 24 deletions.
49 changes: 48 additions & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,54 @@
<div id="licensebtnl" style="top: 270px; left: 990px;"> i </div>
</div>
<div id="licensepage" style="display: none">
<div id="licensetext"><div id="licensescroll"></div></div>
<div id="licensetext"><div id="licensescroll">
<br><br>Run Rabbit Run is a fun grid game where the rabbit finds and eats the carrots dodging the foxes.<br>
<br>
Author: Benjamin Drucker &lt;benjamin.t.drucker@intel.com&gt;<br>
Owner: Carl Wong &lt;carl.wong@intel.com&gt;<br>
<br>
Technical Details: This application is written using HTML5/css3 <br>
and is distributed under Apache2.0 license. <br>
<br>
<br>
FONTS<br>

<br>
Open Sans<br>
http: http://www.google.com/webfonts#UsePlace:use/Collection:Open+Sans<br>
License: http://www.apache.org/licenses/ (Apache License)<br>
<br>
SOUNDS<br>

<br>
ButtonClick.ogg<br>
Original Name: btn121.wav<br>
Origin: http://www.freesound.org/people/junggle/sounds/29301/<br>
License: http://creativecommons.org/licenses/by/3.0/<br>
<br>
Carrot.ogg<br>
Oringal filename: carrotnom.wav<br>
Origin: http://www.freesound.org/people/j1987/sounds/106392/<br>
License: http://creativecommons.org/licenses/by/3.0/<br>
<br>
Win.ogg<br>
Orignal filename: 90140__pierrecartoons1979__win3.wav<br>
Origin: http://www.freesound.org/people/pierrecartoons1979/sounds/90140/<br>
License: http://creativecommons.org/licenses/by/3.0/<br>
<br>
IMAGES<br>

<br>
all images are created by Intel Corp.<br>
they are licensed under the Creative Commons Attribution 3.0 license<br>
http://creativecommons.org/licenses/by/3.0/us/<br>
<br>
KNOWN ISSUES<br>

<br>
1) The bar for "best time" displays at all time including when user loses <br>
<br>
</div></div>
<div id="licensebtnq" class="licensebtn">Back</div>
</div>

Expand Down
23 changes: 0 additions & 23 deletions app/js/license.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,6 @@ function license_init(id, hpageid)
var lscroll = document.getElementById(id+"scroll");
var timer;

var request = new XMLHttpRequest();
request.open("GET", "README.txt", false);
request.onload = function(e) {
var text = this.responseText;
text = text.replace(/</g,"&lt;");
text = text.replace(/>/g,"&gt;");
var lines = text.split("\n");
lines[0] = "<br><br>"+lines[0];
for(var i in lines)
{
if(lines[i].match(/--------------------/))
{
lines[i] = "";
}
else
{
lines[i] += "<br>";
}
}
lscroll.innerHTML = lines.join("\n");
}
request.send();

lbtn.onclick = function() {
/* initialize scroll rate */
var dY = 2;
Expand Down

0 comments on commit a0c6f25

Please sign in to comment.