Don't name the modules.
According to the require.js docs this shouldn't be done. http://requirejs.org/docs/whyamd.html#namedmodules
This commit is contained in:
parent
fd2f1c22e4
commit
f73a1d3fc0
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-api", [
|
define([
|
||||||
"jquery",
|
"jquery",
|
||||||
"lodash",
|
"lodash",
|
||||||
"moment_with_locales",
|
"moment_with_locales",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* in XEP-0048.
|
* in XEP-0048.
|
||||||
*/
|
*/
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-bookmarks", [
|
define([
|
||||||
"jquery",
|
"jquery",
|
||||||
"lodash",
|
"lodash",
|
||||||
"moment_with_locales",
|
"moment_with_locales",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
/*global Backbone, define */
|
/*global Backbone, define */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-chatview", [
|
define([
|
||||||
"converse-api",
|
"converse-api",
|
||||||
"tpl!chatbox",
|
"tpl!chatbox",
|
||||||
"tpl!new_day",
|
"tpl!new_day",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
/*global define, Backbone */
|
/*global define, Backbone */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-controlbox", [
|
define([
|
||||||
"converse-api",
|
"converse-api",
|
||||||
"tpl!add_contact_dropdown",
|
"tpl!add_contact_dropdown",
|
||||||
"tpl!add_contact_form",
|
"tpl!add_contact_form",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
/*global Backbone, define, window, document */
|
/*global Backbone, define, window, document */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-core", [
|
define([
|
||||||
"sizzle",
|
"sizzle",
|
||||||
"jquery",
|
"jquery",
|
||||||
"lodash",
|
"lodash",
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define, window */
|
/*global define, window */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-dragresize", [
|
define([
|
||||||
"converse-api",
|
"converse-api",
|
||||||
"tpl!dragresize",
|
"tpl!dragresize",
|
||||||
"converse-chatview",
|
"converse-chatview",
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-headline", [
|
define([
|
||||||
"converse-api",
|
"converse-api",
|
||||||
"converse-chatview"
|
"converse-chatview"
|
||||||
], factory);
|
], factory);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
// XEP-0059 Result Set Management
|
// XEP-0059 Result Set Management
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-mam", [
|
define([
|
||||||
"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
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global Backbone, define, window */
|
/*global Backbone, define, window */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-minimize", [
|
define([
|
||||||
"converse-api",
|
"converse-api",
|
||||||
"tpl!chatbox_minimize",
|
"tpl!chatbox_minimize",
|
||||||
"tpl!toggle_chats",
|
"tpl!toggle_chats",
|
||||||
|
|
|
@ -6,10 +6,7 @@
|
||||||
//
|
//
|
||||||
/*global Backbone */
|
/*global Backbone */
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-muc-embedded", [
|
define(["converse-api", "converse-muc"], factory);
|
||||||
"converse-api",
|
|
||||||
"converse-muc"
|
|
||||||
], factory);
|
|
||||||
}(this, function (converse) {
|
}(this, function (converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global Backbone, define */
|
/*global Backbone, define */
|
||||||
|
@ -10,7 +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-api",
|
"converse-api",
|
||||||
"tpl!chatarea",
|
"tpl!chatarea",
|
||||||
"tpl!chatroom",
|
"tpl!chatroom",
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-notification", ["converse-api"], factory);
|
define(["converse-api"], factory);
|
||||||
}(this, function (converse) {
|
}(this, function (converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var $ = converse.env.jQuery,
|
var $ = converse.env.jQuery,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global Backbone, define, window, crypto, CryptoJS */
|
/*global Backbone, define, window, crypto, CryptoJS */
|
||||||
|
@ -10,11 +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", "converse-api", "tpl!toolbar_otr"], factory);
|
||||||
"otr",
|
|
||||||
"converse-api",
|
|
||||||
"tpl!toolbar_otr"
|
|
||||||
], factory);
|
|
||||||
}(this, function (otr, converse, tpl_toolbar_otr) {
|
}(this, function (otr, converse, tpl_toolbar_otr) {
|
||||||
"use strict";
|
"use strict";
|
||||||
// Strophe methods for building stanzas
|
// Strophe methods for building stanzas
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
|
@ -10,10 +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-api", "strophe.ping"], factory);
|
||||||
"converse-api",
|
|
||||||
"strophe.ping"
|
|
||||||
], factory);
|
|
||||||
}(this, function (converse) {
|
}(this, function (converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
// Strophe methods for building stanzas
|
// Strophe methods for building stanzas
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global Backbone, define */
|
/*global Backbone, define */
|
||||||
|
@ -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-api",
|
||||||
"converse-api",
|
|
||||||
"tpl!form_username",
|
"tpl!form_username",
|
||||||
"tpl!register_panel",
|
"tpl!register_panel",
|
||||||
"tpl!register_tab",
|
"tpl!register_tab",
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global Backbone, define */
|
/*global Backbone, define */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-rosterview", [
|
define(["converse-api",
|
||||||
"converse-api",
|
|
||||||
"tpl!group_header",
|
"tpl!group_header",
|
||||||
"tpl!pending_contact",
|
"tpl!pending_contact",
|
||||||
"tpl!requesting_contact",
|
"tpl!requesting_contact",
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
// Converse.js (A browser based XMPP chat client)
|
// Converse.js (A browser based XMPP chat client)
|
||||||
// http://conversejs.org
|
// http://conversejs.org
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
// Copyright (c) 2012-2017, Jan-Carel Brand <jc@opkode.com>
|
||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
//
|
//
|
||||||
/*global define */
|
/*global define */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define("converse-vcard", [
|
define(["converse-api", "strophe.vcard"], factory);
|
||||||
"converse-api",
|
|
||||||
"strophe.vcard",
|
|
||||||
], factory);
|
|
||||||
}(this, function (converse) {
|
}(this, function (converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var Strophe = converse.env.Strophe,
|
var Strophe = converse.env.Strophe,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user