Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
d4c127e1
Commit
d4c127e1
authored
Mar 07, 2016
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #608
The no-jquery build was broken
parent
fd0c9cec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
2 deletions
+40
-2
src/build-no-dependencies.js
src/build-no-dependencies.js
+1
-1
src/build-no-jquery.js
src/build-no-jquery.js
+4
-1
src/wrapper-no-deps.js
src/wrapper-no-deps.js
+32
-0
src/wrapper-no-jquery.js
src/wrapper-no-jquery.js
+3
-0
No files found.
src/build-no-dependencies.js
View file @
d4c127e1
...
...
@@ -39,7 +39,7 @@
"
underscore
"
],
wrap
:
{
endFile
:
"
wrapper-end.js
"
endFile
:
[
"
wrapper-no-jquery.js
"
,
"
wrapper-no-deps.js
"
]
},
insertRequire
:
[
'
converse
'
],
mainConfigFile
:
'
../converse.js
'
...
...
src/build-no-jquery.js
View file @
d4c127e1
...
...
@@ -5,5 +5,8 @@
include
:
[
'
converse
'
],
exclude
:
[
'
jquery
'
,
'
jquery-private
'
],
insertRequire
:
[
'
converse
'
],
mainConfigFile
:
'
../converse.js
'
mainConfigFile
:
'
../converse.js
'
,
wrap
:
{
endFile
:
"
wrapper-no-jquery.js
"
}
})
src/wrapper-no-deps.js
0 → 100644
View file @
d4c127e1
/*global jQuery, _, moment, Strophe, $build, $iq, $msg, $pres, SHA1, Base64, MD5, DSA, OTR */
define
(
'
jquery.browser
'
,
[],
function
()
{
return
jQuery
;
});
define
(
'
typeahead
'
,
[],
function
()
{
return
jQuery
;
});
define
(
'
underscore
'
,
[],
function
()
{
return
_
;
});
define
(
'
moment_with_locales
'
,
[],
function
()
{
return
moment
;
});
define
(
'
strophe
'
,
[],
function
()
{
return
{
'
Strophe
'
:
Strophe
,
'
$build
'
:
$build
,
'
$iq
'
:
$iq
,
'
$msg
'
:
$msg
,
'
$pres
'
:
$pres
,
'
SHA1
'
:
SHA1
,
'
Base64
'
:
Base64
,
'
MD5
'
:
MD5
,
'
b64_hmac_sha1
'
:
SHA1
.
b64_hmac_sha1
,
'
b64_sha1
'
:
SHA1
.
b64_sha1
,
'
str_hmac_sha1
'
:
SHA1
.
str_hmac_sha1
,
'
str_sha1
'
:
SHA1
.
str_sha1
};
});
var
strophePlugin
=
function
()
{
return
Strophe
;
};
var
emptyFunction
=
function
()
{
};
define
(
'
strophe.disco
'
,
[
'
strophe
'
],
strophePlugin
);
define
(
'
strophe.ping
'
,
[
'
strophe
'
],
strophePlugin
);
define
(
'
strophe.rsm
'
,
[
'
strophe
'
],
strophePlugin
);
define
(
'
strophe.vcard
'
,
[
'
strophe
'
],
strophePlugin
);
define
(
'
backbone
'
,
[],
emptyFunction
);
define
(
'
backbone.browserStorage
'
,
[
'
backbone
'
],
emptyFunction
);
define
(
'
backbone.overview
'
,
[
'
backbone
'
],
emptyFunction
);
define
(
'
otr
'
,
[],
function
()
{
return
{
'
DSA
'
:
DSA
,
'
OTR
'
:
OTR
};});
define
(
"
locales
"
,
[],
emptyFunction
);
src/wrapper-no-jquery.js
0 → 100644
View file @
d4c127e1
/*global jQuery */
define
(
'
jquery
'
,
[],
function
()
{
return
jQuery
;
});
define
(
'
jquery-private
'
,
[],
function
()
{
return
jQuery
;
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment