diff options
author | Bryan Berry <bryan@olenepal.org> | 2009-11-06 13:17:59 (GMT) |
---|---|---|
committer | Bryan Berry <bryan@olenepal.org> | 2009-11-06 13:17:59 (GMT) |
commit | feed7998609084797fe97e0c0c0f721f01f0c864 (patch) | |
tree | 653f166d62264e9470bd4c1a3c591d413445624a | |
parent | 717e6fb02667a8a38227823836677f5425f4831a (diff) |
minor change
-rw-r--r-- | js/karma.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/js/karma.js b/js/karma.js index 38ce4b0..e99bd5c 100644 --- a/js/karma.js +++ b/js/karma.js @@ -54,6 +54,7 @@ return copy; }; + //this copies all the enumerable properties in source to target Karma.objectPlus = function (target, source){ for ( var i in source){ if (source.hasOwnProperty(i)){ @@ -72,11 +73,9 @@ return Karma.objectPlus(G, parent2); }; - Karma.kObject = { - localized: false, - init: function ( options ) { - if ( typeof options.localized === "boolean" ) ) { - this.localized = options.localized; + Karma.checkLocalised = function ( localised ) { + if ( typeof localised === "boolean" ) { + return localised; } }}; |