Browse Source

Bugfix. factory isn't defined.

JC Brand 12 years ago
parent
commit
a2c70b47d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      locale/nolocales.js

+ 2 - 2
locale/nolocales.js

@@ -2,7 +2,7 @@
  * This file can be used if no locale support is required.
  */
 (function (root, factory) {
-    define("locales", ['jed'], function (jed) {
+    define("locales", ['jed'], function (Jed) {
         var translations = {
             "domain": "converse",
             "locale_data": {
@@ -15,6 +15,6 @@
                 }
             }
         };
-        root.locales = { 'en': factory(new Jed(translations)) };
+        root.locales = { 'en': new Jed(translations) };
     });
 })(this);