Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <bryan@olenepal.org>2009-09-07 02:02:51 (GMT)
committer root <bryan@olenepal.org>2009-09-07 02:02:51 (GMT)
commit6fcaf65ce48a75be63ac3f99ebb7ceda5207976e (patch)
tree52963e220894ae0e8b6cf5d80cdf14f8800ebde5
parent6eb06363da31f5bba309234082c9c1fef1920863 (diff)
fixed problem w/ monkey animation
-rwxr-xr-xexamples/adding_up_to_10/js/lesson.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/adding_up_to_10/js/lesson.js b/examples/adding_up_to_10/js/lesson.js
index e1a4ff9..4f8aabe 100755
--- a/examples/adding_up_to_10/js/lesson.js
+++ b/examples/adding_up_to_10/js/lesson.js
@@ -212,7 +212,12 @@ k.main(function() {
var reset = function () {
score = level = 0;
startTimerY = 10;
- $.each(k.layers, function () { this.clear();});
+ $.each(k.layers, function () {
+ if (this.id != "chimp"){
+ this.clear();
+ }
+ });
+
game();
};