Commit e692fda7 authored by JC Brand's avatar JC Brand

Don't name the modules.

parent c99fbfa0
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
// //
/*global define */ /*global define */
(function (root, factory) { (function (root, factory) {
define("converse-api", [ define(["jquery",
"jquery",
"underscore", "underscore",
"moment_with_locales", "moment_with_locales",
"strophe", "strophe",
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
* in XEP-0048. * in XEP-0048.
*/ */
(function (root, factory) { (function (root, factory) {
define("converse-bookmarks", [ define(["jquery",
"jquery",
"underscore", "underscore",
"moment_with_locales", "moment_with_locales",
"strophe", "strophe",
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global Backbone, define */ /*global Backbone, define */
(function (root, factory) { (function (root, factory) {
define("converse-chatview", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!chatbox", "tpl!chatbox",
"tpl!new_day", "tpl!new_day",
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global define, Backbone */ /*global define, Backbone */
(function (root, factory) { (function (root, factory) {
define("converse-controlbox", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!add_contact_dropdown", "tpl!add_contact_dropdown",
"tpl!add_contact_form", "tpl!add_contact_form",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
/*global Backbone, define, window, document */ /*global Backbone, define, window, document */
(function (root, factory) { (function (root, factory) {
define("converse-core", [ define([
"jquery", "jquery",
"underscore", "underscore",
"polyfill", "polyfill",
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global define, window */ /*global define, window */
(function (root, factory) { (function (root, factory) {
define("converse-dragresize", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!dragresize", "tpl!dragresize",
"converse-chatview", "converse-chatview",
......
...@@ -7,11 +7,7 @@ ...@@ -7,11 +7,7 @@
/*global define, window */ /*global define, window */
(function (root, factory) { (function (root, factory) {
define("converse-headline", [ define(["converse-core", "converse-api", "converse-chatview"], factory);
"converse-core",
"converse-api",
"converse-chatview"
], factory);
}(this, function (converse, converse_api) { }(this, function (converse, converse_api) {
"use strict"; "use strict";
var $ = converse_api.env.jQuery, var $ = converse_api.env.jQuery,
......
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
// XEP-0059 Result Set Management // XEP-0059 Result Set Management
(function (root, factory) { (function (root, factory) {
define("converse-mam", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"converse-chatview", // Could be made a soft dependency "converse-chatview", // Could be made a soft dependency
"converse-muc", // Could be made a soft dependency "converse-muc", // Could be made a soft dependency
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global Backbone, define, window */ /*global Backbone, define, window */
(function (root, factory) { (function (root, factory) {
define("converse-minimize", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!chatbox_minimize", "tpl!chatbox_minimize",
"tpl!toggle_chats", "tpl!toggle_chats",
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
* specified in XEP-0045 Multi-user chat. * specified in XEP-0045 Multi-user chat.
*/ */
(function (root, factory) { (function (root, factory) {
define("converse-muc", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!chatarea", "tpl!chatarea",
"tpl!chatroom", "tpl!chatroom",
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
/*global define */ /*global define */
(function (root, factory) { (function (root, factory) {
define("converse-notification", ["converse-core", "converse-api"], factory); define(["converse-core", "converse-api"], factory);
}(this, function (converse, converse_api) { }(this, function (converse, converse_api) {
"use strict"; "use strict";
var $ = converse_api.env.jQuery, var $ = converse_api.env.jQuery,
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
* encryption of one-on-one chat messages. * encryption of one-on-one chat messages.
*/ */
(function (root, factory) { (function (root, factory) {
define("converse-otr", [ define(["otr",
"otr",
"converse-core", "converse-core",
"converse-api", "converse-api",
"tpl!toolbar_otr" "tpl!toolbar_otr"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* as specified in XEP-0199 XMPP Ping. * as specified in XEP-0199 XMPP Ping.
*/ */
(function (root, factory) { (function (root, factory) {
define("converse-ping", [ define([
"converse-core", "converse-core",
"converse-api", "converse-api",
"strophe.ping" "strophe.ping"
......
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
* as specified in XEP-0077. * as specified in XEP-0077.
*/ */
(function (root, factory) { (function (root, factory) {
define("converse-register", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!form_username", "tpl!form_username",
"tpl!register_panel", "tpl!register_panel",
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global Backbone, define */ /*global Backbone, define */
(function (root, factory) { (function (root, factory) {
define("converse-rosterview", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"tpl!group_header", "tpl!group_header",
"tpl!pending_contact", "tpl!pending_contact",
......
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
/*global define */ /*global define */
(function (root, factory) { (function (root, factory) {
define("converse-vcard", [ define(["converse-core",
"converse-core",
"converse-api", "converse-api",
"strophe.vcard", "strophe.vcard",
], factory); ], factory);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment