From 1463ef015ef63f53a05b6ebf3a703a79580f1bad Mon Sep 17 00:00:00 2001 From: Bryan Berry Date: Fri, 09 Oct 2009 07:18:44 +0000 Subject: changed jquery.karma.js so u no longer need karma.Gettext.js --- diff --git a/index.html b/index.html index 5939b0b..2a7946b 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,6 @@ - @@ -18,4 +17,4 @@
Use this file as a template to create your first Karma lesson
- \ No newline at end of file + diff --git a/js/jquery.karma.js b/js/jquery.karma.js index f4b99af..c30753d 100755 --- a/js/jquery.karma.js +++ b/js/jquery.karma.js @@ -234,10 +234,11 @@ var Karma = function( options ) { loaded = lang + "." + that.supportedLangFileTypes[i].ext; - //i18n - //we pass the data so we avoid re-loading the file - //creates the shorcout - that.i18n.root[ that.i18n.shortcut ] = i18nWrapper( + //i18n + //we pass the data so we avoid re-loading the file + //creates the shorcout + //Bryan: we aren't using this right now + /* that.i18n.root[ that.i18n.shortcut ] = i18nWrapper( { domain : lang, file : { @@ -245,9 +246,9 @@ var Karma = function( options ) { uri: this.url, data: data } } - ); + );*/ localiseContent( lang ); - tryNext = false; + tryNext = false; }, error: function ( XHR, textStatus, errorThrown ) { //the file doesn't exist or it wasn't possible to load it -- cgit v0.9.1