Fix the no-dependencies demo
This commit is contained in:
parent
6739b508c3
commit
71bdf08c25
6
Makefile
6
Makefile
@ -175,8 +175,6 @@ BUILDS = dist/converse.js \
|
|||||||
dist/converse-headless.min.js \
|
dist/converse-headless.min.js \
|
||||||
dist/converse-muc-embedded.js \
|
dist/converse-muc-embedded.js \
|
||||||
dist/converse-muc-embedded.min.js \
|
dist/converse-muc-embedded.min.js \
|
||||||
dist/converse-no-jquery.js \
|
|
||||||
dist/converse-no-jquery.min.js \
|
|
||||||
dist/converse-no-dependencies.min.js \
|
dist/converse-no-dependencies.min.js \
|
||||||
dist/converse-no-dependencies.js
|
dist/converse-no-dependencies.js
|
||||||
|
|
||||||
@ -195,10 +193,6 @@ dist/converse-esnext.js: src node_modules
|
|||||||
$(RJS) -o src/build-esnext.js include=converse out=dist/converse-esnext.js optimize=none
|
$(RJS) -o src/build-esnext.js include=converse out=dist/converse-esnext.js optimize=none
|
||||||
dist/converse-esnext.min.js: src node_modules
|
dist/converse-esnext.min.js: src node_modules
|
||||||
$(RJS) -o src/build-esnext.js include=converse out=dist/converse-esnext.min.js
|
$(RJS) -o src/build-esnext.js include=converse out=dist/converse-esnext.min.js
|
||||||
dist/converse-no-jquery.js: transpile src node_modules
|
|
||||||
$(RJS) -o src/build.js include=converse wrap.endFile=end-no-jquery.frag exclude=jquery exclude=jquery.noconflict out=dist/converse-no-jquery.js optimize=none
|
|
||||||
dist/converse-no-jquery.min.js: transpile src node_modules transpile
|
|
||||||
$(RJS) -o src/build.js include=converse wrap.endFile=end-no-jquery.frag exclude=jquery exclude=jquery.noconflict out=dist/converse-no-jquery.min.js
|
|
||||||
dist/converse-no-dependencies.js: transpile src node_modules
|
dist/converse-no-dependencies.js: transpile src node_modules
|
||||||
$(RJS) -o src/build-no-dependencies.js optimize=none out=dist/converse-no-dependencies.js
|
$(RJS) -o src/build-no-dependencies.js optimize=none out=dist/converse-no-dependencies.js
|
||||||
dist/converse-no-dependencies.min.js: transpile src node_modules
|
dist/converse-no-dependencies.min.js: transpile src node_modules
|
||||||
|
@ -13,11 +13,6 @@
|
|||||||
<link type="text/css" rel="stylesheet" media="screen" href="../css/theme.min.css" />
|
<link type="text/css" rel="stylesheet" media="screen" href="../css/theme.min.css" />
|
||||||
<link type="text/css" rel="stylesheet" media="screen" href="../css/converse.min.css" />
|
<link type="text/css" rel="stylesheet" media="screen" href="../css/converse.min.css" />
|
||||||
|
|
||||||
<!-- BEGIN JQUERY -->
|
|
||||||
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="../node_modules/jquery.browser/dist/jquery.browser.js"></script>
|
|
||||||
<!-- END JQUERY -->
|
|
||||||
|
|
||||||
<!-- BEGIN OTR: Off-the-record encryption stuff. Can be omitted if OTR is not used. -->
|
<!-- BEGIN OTR: Off-the-record encryption stuff. Can be omitted if OTR is not used. -->
|
||||||
<script type="text/javascript" src="../node_modules/otr/build/dep/crypto.js"></script>
|
<script type="text/javascript" src="../node_modules/otr/build/dep/crypto.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/otr/build/dep/salsa20.js"></script>
|
<script type="text/javascript" src="../node_modules/otr/build/dep/salsa20.js"></script>
|
||||||
@ -34,24 +29,24 @@
|
|||||||
<script type="text/javascript" src="../node_modules/strophejs-plugin-ping/strophe.ping.js"></script>
|
<script type="text/javascript" src="../node_modules/strophejs-plugin-ping/strophe.ping.js"></script>
|
||||||
<!-- END STROPHE -->
|
<!-- END STROPHE -->
|
||||||
|
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-attributes.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-class.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-dataset.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-eventlisteners.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-props.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/snabbdom/dist/snabbdom-style.js"></script>
|
||||||
|
|
||||||
<!-- BEGIN BACKBONE -->
|
<!-- BEGIN BACKBONE -->
|
||||||
<script type="text/javascript" src="../node_modules/lodash/lodash.js"></script>
|
<script type="text/javascript" src="../node_modules/lodash/lodash.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/backbone//backbone.js"></script>
|
<script type="text/javascript" src="../node_modules/backbone/backbone.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/backbone.nativeview/backbone.nativeview.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/backbone.browserStorage/backbone.browserStorage.js"></script>
|
<script type="text/javascript" src="../node_modules/backbone.browserStorage/backbone.browserStorage.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/backbone.overview/backbone.overview.js"></script>
|
<script type="text/javascript" src="../node_modules/backbone.overview/dist/backbone.overview.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/backbone.overview/dist/backbone.orderedlistview.js"></script>
|
||||||
|
<script type="text/javascript" src="../node_modules/backbone.vdomview/dist/backbone.vdomview.js"></script>
|
||||||
<!-- END BACKBONE -->
|
<!-- END BACKBONE -->
|
||||||
|
|
||||||
<!-- BEGIN I18N -->
|
|
||||||
<!-- These files can be removed if you don't want to include any
|
|
||||||
translations for converse.js.
|
|
||||||
If you want to modify which translations are included, you can modify
|
|
||||||
src/locales.js to remove those you don't need, and then run `make
|
|
||||||
build` to generates a new dist/locales.js file.
|
|
||||||
-->
|
|
||||||
<script type="text/javascript" src="../node_modules/jed/jed.js"></script>
|
|
||||||
<script type="text/javascript" src="../dist/locales.js"></script>
|
|
||||||
<!-- END I18N -->
|
|
||||||
|
|
||||||
<script type="text/javascript" src="../node_modules/awesomplete-avoid-xss/awesomplete.js"></script>
|
<script type="text/javascript" src="../node_modules/awesomplete-avoid-xss/awesomplete.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/moment/min/moment-with-locales.js"></script>
|
<script type="text/javascript" src="../node_modules/moment/min/moment-with-locales.js"></script>
|
||||||
|
|
||||||
@ -83,7 +78,6 @@
|
|||||||
<script>
|
<script>
|
||||||
converse.initialize({
|
converse.initialize({
|
||||||
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
||||||
i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported
|
|
||||||
prebind: false,
|
prebind: false,
|
||||||
show_controlbox_by_default: true,
|
show_controlbox_by_default: true,
|
||||||
debug: true,
|
debug: true,
|
||||||
|
3809
dist/converse-no-dependencies.js
vendored
3809
dist/converse-no-dependencies.js
vendored
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,8 @@
|
|||||||
"otr",
|
"otr",
|
||||||
"lodash",
|
"lodash",
|
||||||
"lodash.converter",
|
"lodash.converter",
|
||||||
"lodash.noconflict"
|
"lodash.noconflict",
|
||||||
|
"es6-promise"
|
||||||
],
|
],
|
||||||
paths: {
|
paths: {
|
||||||
"backbone.vdomview": "builds/backbone.vdomview",
|
"backbone.vdomview": "builds/backbone.vdomview",
|
||||||
|
@ -1,11 +1,30 @@
|
|||||||
|
|
||||||
define('jquery', [], function () { return jQuery; });
|
define('awesomplete', [], function () { return Awesomplete; });
|
||||||
define('jquery.noconflict', [], function () { return jQuery; });
|
|
||||||
define('jquery.browser', [], function () { return jQuery; });
|
|
||||||
define('awesomplete', [], function () { return jQuery; });
|
|
||||||
define('lodash', [], function () { return _; });
|
define('lodash', [], function () { return _; });
|
||||||
|
define('underscore', [], function () { return _; });
|
||||||
define('lodash.converter', [], function () { return fp; });
|
define('lodash.converter', [], function () { return fp; });
|
||||||
define('lodash.noconflict', [], function () { return _; });
|
define('lodash.noconflict', [], function () { return _; });
|
||||||
|
define('moment', [], function () { return moment; });
|
||||||
|
define('moment/locale/af', [], function () { return moment; });
|
||||||
|
define('moment/locale/ca', [], function () { return moment; });
|
||||||
|
define('moment/locale/de', [], function () { return moment; });
|
||||||
|
define('moment/locale/es', [], function () { return moment; });
|
||||||
|
define('moment/locale/fr', [], function () { return moment; });
|
||||||
|
define('moment/locale/he', [], function () { return moment; });
|
||||||
|
define('moment/locale/hu', [], function () { return moment; });
|
||||||
|
define('moment/locale/id', [], function () { return moment; });
|
||||||
|
define('moment/locale/it', [], function () { return moment; });
|
||||||
|
define('moment/locale/ja', [], function () { return moment; });
|
||||||
|
define('moment/locale/nb', [], function () { return moment; });
|
||||||
|
define('moment/locale/nl', [], function () { return moment; });
|
||||||
|
define('moment/locale/pl', [], function () { return moment; });
|
||||||
|
define('moment/locale/pt-br', [], function () { return moment; });
|
||||||
|
define('moment/locale/ru', [], function () { return moment; });
|
||||||
|
define('moment/locale/uk', [], function () { return moment; });
|
||||||
|
define('moment/moment', [], function () { return moment; });
|
||||||
|
define('i18n', [], function () { return; });
|
||||||
|
define('es6-promise', [], function () { return Promise; });
|
||||||
|
|
||||||
define('strophe', [], function () {
|
define('strophe', [], function () {
|
||||||
return {
|
return {
|
||||||
'Strophe': Strophe,
|
'Strophe': Strophe,
|
||||||
|
Loading…
Reference in New Issue
Block a user