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
d12309d7
Commit
d12309d7
authored
Oct 20, 2016
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move converse.js to src/converse.js
Also remove "jquery", will be loaded implicitly
parent
a51d503e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
8 deletions
+7
-8
demo/anonymous.html
demo/anonymous.html
+1
-1
dev.html
dev.html
+1
-1
src/build-mobile.js
src/build-mobile.js
+1
-1
src/build-no-dependencies.js
src/build-no-dependencies.js
+1
-1
src/build-no-jquery.js
src/build-no-jquery.js
+1
-1
src/build.js
src/build.js
+1
-1
src/converse.js
src/converse.js
+1
-2
No files found.
demo/anonymous.html
View file @
d12309d7
...
...
@@ -16,7 +16,7 @@
<script
src=
"../config.js"
></script>
<!-- Base require.js configuration -->
<script
src=
"../components/requirejs/require.js"
></script>
<script
src=
"config.js"
></script>
<!-- Just set the baseUrl since we're in a subfolder -->
<script
src=
"../converse.js"
></script>
<script
src=
"../
src/
converse.js"
></script>
</head>
<body
id=
"page-top"
data-spy=
"scroll"
data-target=
".navbar-custom"
>
...
...
dev.html
View file @
d12309d7
...
...
@@ -15,7 +15,7 @@
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"css/converse.css"
/>
<script
src=
"node_modules/requirejs/require.js"
></script>
<script
src=
"config.js"
></script>
<script
src=
"converse.js"
></script>
<script
src=
"
src/
converse.js"
></script>
</head>
<body
id=
"page-top"
data-spy=
"scroll"
data-target=
".navbar-custom"
>
...
...
src/build-mobile.js
View file @
d12309d7
...
...
@@ -7,7 +7,7 @@
"
converse-minimize
"
,
"
converse-dragresize
"
],
include
:
[
'
converse
'
],
include
:
[
'
src/
converse
'
],
insertRequire
:
[
'
converse
'
],
wrap
:
{
endFile
:
[
"
wrapper-mobile.js
"
]
...
...
src/build-no-dependencies.js
View file @
d12309d7
...
...
@@ -2,7 +2,7 @@
baseUrl
:
"
../
"
,
name
:
"
almond
"
,
out
:
"
../dist/converse-no-dependencies.min.js
"
,
include
:
[
'
converse
'
],
include
:
[
'
src/
converse
'
],
excludeShallow
:
[
'
locales
'
,
'
text!af
'
,
...
...
src/build-no-jquery.js
View file @
d12309d7
...
...
@@ -2,7 +2,7 @@
baseUrl
:
"
../
"
,
name
:
"
almond
"
,
out
:
"
../dist/converse.nojquery.min.js
"
,
include
:
[
'
converse
'
],
include
:
[
'
src/
converse
'
],
exclude
:
[
'
jquery
'
,
'
jquery-private
'
],
insertRequire
:
[
'
converse
'
],
mainConfigFile
:
'
../config.js
'
,
...
...
src/build.js
View file @
d12309d7
...
...
@@ -3,6 +3,6 @@
name
:
"
almond
"
,
out
:
"
../dist/converse.min.js
"
,
mainConfigFile
:
'
../config.js
'
,
include
:
[
'
converse
'
],
include
:
[
'
src/
converse
'
],
insertRequire
:
[
'
converse
'
],
})
converse.js
→
src/
converse.js
View file @
d12309d7
...
...
@@ -7,7 +7,6 @@
if
(
typeof
define
!==
'
undefined
'
)
{
/* When running tests, define is not defined. */
define
(
"
converse
"
,
[
"
jquery
"
,
"
converse-api
"
,
/* START: Removable components
...
...
@@ -34,7 +33,7 @@ if (typeof define !== 'undefined') {
"
converse-headline
"
,
// Support for headline messages
/* END: Removable components */
],
function
(
$
,
converse_api
)
{
],
function
(
converse_api
)
{
window
.
converse
=
converse_api
;
$
(
window
).
trigger
(
'
converse-loaded
'
,
converse_api
);
return
converse_api
;
...
...
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