Commit e692fda7 authored by JC Brand's avatar JC Brand

Don't name the modules.

parent c99fbfa0
......@@ -6,8 +6,7 @@
//
/*global define */
(function (root, factory) {
define("converse-api", [
"jquery",
define(["jquery",
"underscore",
"moment_with_locales",
"strophe",
......
......@@ -10,8 +10,7 @@
* in XEP-0048.
*/
(function (root, factory) {
define("converse-bookmarks", [
"jquery",
define(["jquery",
"underscore",
"moment_with_locales",
"strophe",
......
......@@ -7,8 +7,7 @@
/*global Backbone, define */
(function (root, factory) {
define("converse-chatview", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!chatbox",
"tpl!new_day",
......
......@@ -7,8 +7,7 @@
/*global define, Backbone */
(function (root, factory) {
define("converse-controlbox", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!add_contact_dropdown",
"tpl!add_contact_form",
......
......@@ -7,7 +7,7 @@
/*global Backbone, define, window, document */
(function (root, factory) {
define("converse-core", [
define([
"jquery",
"underscore",
"polyfill",
......
......@@ -7,8 +7,7 @@
/*global define, window */
(function (root, factory) {
define("converse-dragresize", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!dragresize",
"converse-chatview",
......
......@@ -7,11 +7,7 @@
/*global define, window */
(function (root, factory) {
define("converse-headline", [
"converse-core",
"converse-api",
"converse-chatview"
], factory);
define(["converse-core", "converse-api", "converse-chatview"], factory);
}(this, function (converse, converse_api) {
"use strict";
var $ = converse_api.env.jQuery,
......
......@@ -9,8 +9,7 @@
// XEP-0059 Result Set Management
(function (root, factory) {
define("converse-mam", [
"converse-core",
define(["converse-core",
"converse-api",
"converse-chatview", // Could be made a soft dependency
"converse-muc", // Could be made a soft dependency
......
......@@ -7,8 +7,7 @@
/*global Backbone, define, window */
(function (root, factory) {
define("converse-minimize", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!chatbox_minimize",
"tpl!toggle_chats",
......
......@@ -10,8 +10,7 @@
* specified in XEP-0045 Multi-user chat.
*/
(function (root, factory) {
define("converse-muc", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!chatarea",
"tpl!chatroom",
......
......@@ -7,7 +7,7 @@
/*global define */
(function (root, factory) {
define("converse-notification", ["converse-core", "converse-api"], factory);
define(["converse-core", "converse-api"], factory);
}(this, function (converse, converse_api) {
"use strict";
var $ = converse_api.env.jQuery,
......
......@@ -10,8 +10,7 @@
* encryption of one-on-one chat messages.
*/
(function (root, factory) {
define("converse-otr", [
"otr",
define(["otr",
"converse-core",
"converse-api",
"tpl!toolbar_otr"
......
......@@ -10,7 +10,7 @@
* as specified in XEP-0199 XMPP Ping.
*/
(function (root, factory) {
define("converse-ping", [
define([
"converse-core",
"converse-api",
"strophe.ping"
......
......@@ -10,8 +10,7 @@
* as specified in XEP-0077.
*/
(function (root, factory) {
define("converse-register", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!form_username",
"tpl!register_panel",
......
......@@ -7,8 +7,7 @@
/*global Backbone, define */
(function (root, factory) {
define("converse-rosterview", [
"converse-core",
define(["converse-core",
"converse-api",
"tpl!group_header",
"tpl!pending_contact",
......
......@@ -7,8 +7,7 @@
/*global define */
(function (root, factory) {
define("converse-vcard", [
"converse-core",
define(["converse-core",
"converse-api",
"strophe.vcard",
], 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