Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Reyes
committed
Oct 31, 2011
1 parent
f8f4d62
commit 5a28270
Showing
7 changed files
with
61 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
application: cmufreenoms | ||
version: 1 | ||
version: 2 | ||
runtime: python | ||
api_version: 1 | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Report(db.Model): | ||
type = db.StringProperty() | ||
location = db.StringProperty() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
function addNom(pnom) { | ||
var green = Math.random(); | ||
|
||
var newSpan = document.createElement("span"); | ||
|
||
if (green > .85) { | ||
newSpan.className = "greenNom"; | ||
newSpan.appendChild(document.createTextNode("NOM! ")); | ||
} else { | ||
newSpan.appendChild(document.createTextNode("nom ")); | ||
} | ||
|
||
$(newSpan).bind("mouseover", | ||
function() { | ||
$(newSpan).fadeOut() | ||
}); | ||
pnom.appendChild(newSpan); | ||
} | ||
|
||
window.onload = function() { | ||
var pnom = document.getElementById("noms"); | ||
|
||
setInterval(function() { addNom(pnom); }, 50); | ||
|
||
document.body.style.cursor = "url('../images/rageface.cur'), default"; | ||
} | ||
// Handler for .ready() called. | ||
$(function(){ | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters