Преглед на файлове

Bugfix. factory isn't defined.

JC Brand преди 12 години
родител
ревизия
a2c70b47d8
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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);