@converse/headless: update dependencies references
* Link internal dependencies by relative path * Don't use webpack aliases for external dependencies to reduce user-side configuration
This commit is contained in:
parent
12b9824e75
commit
ae1424aa5b
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define([
|
define([
|
||||||
"converse-core",
|
"./converse-core",
|
||||||
"filesize",
|
"filesize",
|
||||||
"utils/form",
|
"./utils/form",
|
||||||
"utils/emoji"
|
"./utils/emoji"
|
||||||
], factory);
|
], factory);
|
||||||
}(this, function (converse, filesize) {
|
}(this, function (converse, filesize) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["sizzle",
|
define(["sizzle",
|
||||||
"es6-promise",
|
"es6-promise/dist/es6-promise.auto",
|
||||||
"lodash.noconflict",
|
"./lodash.noconflict",
|
||||||
"lodash.fp",
|
"./lodash.fp",
|
||||||
"polyfill",
|
"./polyfill",
|
||||||
"i18n",
|
"./i18n",
|
||||||
"utils/core",
|
"./utils/core",
|
||||||
"moment",
|
"moment",
|
||||||
"strophe.js",
|
"strophe.js",
|
||||||
"pluggable",
|
"pluggable.js/dist/pluggable",
|
||||||
"backbone.noconflict",
|
"./backbone.noconflict",
|
||||||
"backbone.nativeview",
|
"backbone.nativeview",
|
||||||
"backbone.browserStorage"
|
"backbone.browserStorage"
|
||||||
], factory);
|
], factory);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
/* This is a Converse plugin which add support for XEP-0030: Service Discovery */
|
/* This is a Converse plugin which add support for XEP-0030: Service Discovery */
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["converse-core", "sizzle"], factory);
|
define(["./converse-core", "sizzle"], factory);
|
||||||
}(this, function (converse, sizzle) {
|
}(this, function (converse, sizzle) {
|
||||||
|
|
||||||
const { Backbone, Promise, Strophe, $iq, b64_sha1, utils, _, f } = converse.env;
|
const { Backbone, Promise, Strophe, $iq, b64_sha1, utils, _, f } = converse.env;
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["sizzle",
|
define(["sizzle",
|
||||||
"converse-core",
|
"./converse-core",
|
||||||
"converse-disco",
|
"./converse-disco",
|
||||||
"strophejs-plugin-rsm"
|
"strophejs-plugin-rsm"
|
||||||
], factory);
|
], factory);
|
||||||
}(this, function (sizzle, converse) {
|
}(this, function (sizzle, converse) {
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define([
|
define([
|
||||||
"utils/form",
|
"./utils/form",
|
||||||
"converse-core",
|
"./converse-core",
|
||||||
"converse-disco",
|
"./converse-disco",
|
||||||
"backbone.overview",
|
"backbone.overview/backbone.overview",
|
||||||
"backbone.orderedlistview",
|
"backbone.overview/backbone.orderedlistview",
|
||||||
"backbone.vdomview",
|
"backbone.vdomview",
|
||||||
"utils/muc",
|
"./utils/muc",
|
||||||
"utils/emoji"
|
"./utils/emoji"
|
||||||
], factory);
|
], factory);
|
||||||
}(this, function (u, converse) {
|
}(this, function (u, converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* as specified in XEP-0199 XMPP Ping.
|
* as specified in XEP-0199 XMPP Ping.
|
||||||
*/
|
*/
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["converse-core", "strophejs-plugin-ping"], factory);
|
define(["./converse-core", "strophejs-plugin-ping"], factory);
|
||||||
}(this, function (converse) {
|
}(this, function (converse) {
|
||||||
"use strict";
|
"use strict";
|
||||||
// Strophe methods for building stanzas
|
// Strophe methods for building stanzas
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// Licensed under the Mozilla Public License (MPLv2)
|
// Licensed under the Mozilla Public License (MPLv2)
|
||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["converse-core", "templates/vcard.html"], factory);
|
define(["./converse-core", "./templates/vcard.html"], factory);
|
||||||
}(this, function (converse, tpl_vcard) {
|
}(this, function (converse, tpl_vcard) {
|
||||||
"use strict";
|
"use strict";
|
||||||
const { Backbone, Promise, Strophe, _, $iq, $build, b64_sha1, moment, sizzle } = converse.env;
|
const { Backbone, Promise, Strophe, _, $iq, $build, b64_sha1, moment, sizzle } = converse.env;
|
||||||
|
@ -4,16 +4,16 @@
|
|||||||
if (typeof define !== 'undefined') {
|
if (typeof define !== 'undefined') {
|
||||||
// The section below determines which plugins will be included in a build
|
// The section below determines which plugins will be included in a build
|
||||||
define([
|
define([
|
||||||
"converse-core",
|
"./converse-core",
|
||||||
/* START: Removable components
|
/* START: Removable components
|
||||||
* --------------------
|
* --------------------
|
||||||
* Any of the following components may be removed if they're not needed.
|
* Any of the following components may be removed if they're not needed.
|
||||||
*/
|
*/
|
||||||
"converse-chatboxes", // Backbone Collection and Models for chat boxes
|
"./converse-chatboxes", // Backbone Collection and Models for chat boxes
|
||||||
"converse-disco", // Service discovery plugin
|
"./converse-disco", // Service discovery plugin
|
||||||
"converse-mam", // XEP-0313 Message Archive Management
|
"./converse-mam", // XEP-0313 Message Archive Management
|
||||||
"converse-ping", // XEP-0199 XMPP Ping
|
"./converse-ping", // XEP-0199 XMPP Ping
|
||||||
"converse-vcard", // XEP-0054 VCard-temp
|
"./converse-vcard", // XEP-0054 VCard-temp
|
||||||
/* END: Removable components */
|
/* END: Removable components */
|
||||||
], function(converse) {
|
], function(converse) {
|
||||||
return converse;
|
return converse;
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define([
|
define([
|
||||||
"es6-promise",
|
"es6-promise/dist/es6-promise.auto",
|
||||||
"jed",
|
"jed",
|
||||||
"lodash.noconflict",
|
"./lodash.noconflict",
|
||||||
"moment",
|
"moment",
|
||||||
'moment/locale/af',
|
'moment/locale/af',
|
||||||
'moment/locale/ar',
|
'moment/locale/ar',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
define(['lodash', 'lodash.converter'], function (_, lodashConverter) {
|
define(['lodash', './3rdparty/lodash.fp'], function (_, lodashConverter) {
|
||||||
var fp = lodashConverter(_.runInContext());
|
var fp = lodashConverter(_.runInContext());
|
||||||
return fp;
|
return fp;
|
||||||
});
|
});
|
||||||
|
@ -11,16 +11,16 @@
|
|||||||
if (typeof define === 'function' && define.amd) {
|
if (typeof define === 'function' && define.amd) {
|
||||||
define([
|
define([
|
||||||
"sizzle",
|
"sizzle",
|
||||||
"es6-promise",
|
"es6-promise/dist/es6-promise.auto",
|
||||||
"fast-text-encoding",
|
"fast-text-encoding/text",
|
||||||
"lodash.noconflict",
|
"../lodash.noconflict",
|
||||||
"backbone",
|
"backbone",
|
||||||
"strophe.js",
|
"strophe.js",
|
||||||
"uri",
|
"urijs",
|
||||||
"templates/audio.html",
|
"../templates/audio.html",
|
||||||
"templates/file.html",
|
"../templates/file.html",
|
||||||
"templates/image.html",
|
"../templates/image.html",
|
||||||
"templates/video.html"
|
"../templates/video.html"
|
||||||
], factory);
|
], factory);
|
||||||
} else {
|
} else {
|
||||||
// Used by the mockups
|
// Used by the mockups
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define([
|
define([
|
||||||
"lodash.noconflict",
|
"../lodash.noconflict",
|
||||||
"utils/core",
|
"./core",
|
||||||
"twemoji"
|
"twemoji"
|
||||||
], factory);
|
], factory);
|
||||||
}(this, function (
|
}(this, function (
|
||||||
|
@ -10,17 +10,17 @@
|
|||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define([
|
define([
|
||||||
"sizzle",
|
"sizzle",
|
||||||
"lodash.noconflict",
|
"../lodash.noconflict",
|
||||||
"utils/core",
|
"./core",
|
||||||
"templates/field.html",
|
"../templates/field.html",
|
||||||
"templates/select_option.html",
|
"../templates/select_option.html",
|
||||||
"templates/form_select.html",
|
"../templates/form_select.html",
|
||||||
"templates/form_textarea.html",
|
"../templates/form_textarea.html",
|
||||||
"templates/form_checkbox.html",
|
"../templates/form_checkbox.html",
|
||||||
"templates/form_username.html",
|
"../templates/form_username.html",
|
||||||
"templates/form_input.html",
|
"../templates/form_input.html",
|
||||||
"templates/form_captcha.html",
|
"../templates/form_captcha.html",
|
||||||
"templates/form_url.html",
|
"../templates/form_url.html",
|
||||||
], factory);
|
], factory);
|
||||||
}(this, function (
|
}(this, function (
|
||||||
sizzle,
|
sizzle,
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
//
|
//
|
||||||
/*global define, escape, Jed */
|
/*global define, escape, Jed */
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
define(["converse-core", "utils/core"], factory);
|
define(["../converse-core", "./core"], factory);
|
||||||
}(this, function (converse, u) {
|
}(this, function (converse, u) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user