Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Berry <bryan@olenepal.org>2009-11-02 21:38:31 (GMT)
committer Bryan Berry <bryan@olenepal.org>2009-11-02 21:38:31 (GMT)
commitcdc2ca9c47e13281e866b0c2bb8cfdf04570e01b (patch)
tree101889523c1a7871c28296ed74014df053b2f9c7
parentc1129894d66e4328a7aa8d0158c240c30f54126f (diff)
images, sounds, and surfaces now have localized property set to false by default. this aves a lot of typing. Changed adding_up to reflect this change
-rwxr-xr-xexamples/adding_up_to_10_canvas/js/lesson.js24
-rwxr-xr-xexamples/adding_up_to_10_svg/js/lesson.js27
-rwxr-xr-xjs/jquery.karma.js2
3 files changed, 25 insertions, 28 deletions
diff --git a/examples/adding_up_to_10_canvas/js/lesson.js b/examples/adding_up_to_10_canvas/js/lesson.js
index ed5d365..44b280c 100755
--- a/examples/adding_up_to_10_canvas/js/lesson.js
+++ b/examples/adding_up_to_10_canvas/js/lesson.js
@@ -5,23 +5,23 @@ $(document).ready(function(){
k.init({
images: [
- {name: "ball", file: "ball37px.png", localized : false },
- {name: "balloon", file: "balloon37px.png", localized : false },
- {name: "banana", file: "banana37px.png", localized : false },
- {name: "chilli", file: "chilli.png", localized : false },
- {name: "fish" , file: "fish64px.png", localized : false },
- {name: "flower", file: "flower37px.png", localized : false },
- {name: "normalChimp", file: "normalChimp_120x125.png", localized : false},
- {name: "happyChimp", file: "happyChimp_120x125.png", localized: false},
- {name: "sadChimp", file: "sadChimp_120x125.png", localized : false}
+ {name: "ball", file: "ball37px.png"},
+ {name: "balloon", file: "balloon37px.png"},
+ {name: "banana", file: "banana37px.png"},
+ {name: "chilli", file: "chilli.png"},
+ {name: "fish" , file: "fish64px.png"},
+ {name: "flower", file: "flower37px.png"},
+ {name: "normalChimp", file: "normalChimp_120x125.png"},
+ {name: "happyChimp", file: "happyChimp_120x125.png"},
+ {name: "sadChimp", file: "sadChimp_120x125.png"}
]
,
sounds: [
- {name: "correct", file: "correct.ogg"},
- {name: "incorrect", file: "incorrect.ogg"},
- {name: "trigger", file: "trigger.ogg", localized: false}
+ {name: "correct", file: "correct.ogg", localized: true},
+ {name: "incorrect", file: "incorrect.ogg", localized: true},
+ {name: "trigger", file: "trigger.ogg"}
],
surfaces: [
diff --git a/examples/adding_up_to_10_svg/js/lesson.js b/examples/adding_up_to_10_svg/js/lesson.js
index eda09b4..d333515 100755
--- a/examples/adding_up_to_10_svg/js/lesson.js
+++ b/examples/adding_up_to_10_svg/js/lesson.js
@@ -7,22 +7,19 @@ $(document).ready(function(){
k.init({
images: [
- {name: "ball", file: "ball37px.png", localized : false },
- {name: "balloon", file: "balloon37px.png", localized : false },
- {name: "banana", file: "banana37px.png", localized : false },
- {name: "chilli", file: "chilli.png", localized : false },
- {name: "fish" , file: "fish64px.png", localized : false },
- {name: "flower", file: "flower37px.png", localized : false },
- {name: "normalChimp", file: "normalChimp_120x125.png",
- localized : false},
- {name: "happyChimp", file: "happyChimp_120x125.png",
- localized: false},
- {name: "sadChimp", file: "sadChimp_120x125.png",
- localized : false}],
+ {name: "ball", file: "ball37px.png"},
+ {name: "balloon", file: "balloon37px.png"},
+ {name: "banana", file: "banana37px.png"},
+ {name: "chilli", file: "chilli.png"},
+ {name: "fish" , file: "fish64px.png"},
+ {name: "flower", file: "flower37px.png"},
+ {name: "normalChimp", file: "normalChimp_120x125.png"},
+ {name: "happyChimp", file: "happyChimp_120x125.png"},
+ {name: "sadChimp", file: "sadChimp_120x125.png"}],
sounds: [
- {name: "correct", file: "correct.ogg"},
- {name: "incorrect", file: "incorrect.ogg"},
- {name: "trigger", file: "trigger.ogg", localized: false}
+ {name: "correct", file: "correct.ogg", localized: true},
+ {name: "incorrect", file: "incorrect.ogg", localized: true},
+ {name: "trigger", file: "trigger.ogg"}
]
});
diff --git a/js/jquery.karma.js b/js/jquery.karma.js
index d144592..2d06c9b 100755
--- a/js/jquery.karma.js
+++ b/js/jquery.karma.js
@@ -811,7 +811,7 @@ var KObject = Class(
if ( valid(options.localized, "boolean" ) ) {
this.localized = options.localized;
}else {
- this.localized = true;
+ this.localized = false;
}
}
}