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
e109c54c
Commit
e109c54c
authored
Jul 26, 2016
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid having a separate configuration in demo folder
parent
0da920e2
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
226 deletions
+11
-226
README.md
README.md
+1
-0
converse.js
converse.js
+1
-0
demo/anonymous.html
demo/anonymous.html
+2
-1
demo/config.js
demo/config.js
+2
-220
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
+2
-2
No files found.
README.md
View file @
e109c54c
...
@@ -11,6 +11,7 @@ to, either your own, or a public one.
...
@@ -11,6 +11,7 @@ to, either your own, or a public one.
## Demo
## Demo
A live demo is available at
[
https://conversejs.org
](
https://conversejs.org
)
A live demo is available at
[
https://conversejs.org
](
https://conversejs.org
)
A demo showing anonymous login is available at
[
https://conversejs.org/demo/anonymous.html
](
https://conversejs.org/demo/anonymous.html
)
## Documentation
## Documentation
...
...
converse.js
View file @
e109c54c
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
* This file is used to tell require.js which components (or plugins) to load
* This file is used to tell require.js which components (or plugins) to load
* when it generates a build.
* when it generates a build.
*/
*/
if
(
typeof
define
!==
'
undefined
'
)
{
if
(
typeof
define
!==
'
undefined
'
)
{
/* When running tests, define is not defined. */
/* When running tests, define is not defined. */
define
(
"
converse
"
,
[
define
(
"
converse
"
,
[
...
...
demo/anonymous.html
View file @
e109c54c
...
@@ -13,8 +13,9 @@
...
@@ -13,8 +13,9 @@
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../components/fontawesome/css/font-awesome.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../components/fontawesome/css/font-awesome.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../css/theme.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../css/theme.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../css/converse.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"../css/converse.css"
/>
<script
src=
"../config.js"
></script>
<!-- Base require.js configuration -->
<script
src=
"../components/requirejs/require.js"
></script>
<script
src=
"../components/requirejs/require.js"
></script>
<script
src=
"config.js"
></script>
<script
src=
"config.js"
></script>
<!-- Just set the baseUrl since we're in a subfolder -->
<script
src=
"../converse.js"
></script>
<script
src=
"../converse.js"
></script>
</head>
</head>
...
...
demo/config.js
View file @
e109c54c
This diff is collapsed.
Click to expand it.
src/build-mobile.js
View file @
e109c54c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
baseUrl
:
"
../
"
,
baseUrl
:
"
../
"
,
name
:
"
components/almond/almond.js
"
,
name
:
"
components/almond/almond.js
"
,
out
:
"
../dist/converse-mobile.min.js
"
,
out
:
"
../dist/converse-mobile.min.js
"
,
mainConfigFile
:
'
../con
verse
.js
'
,
mainConfigFile
:
'
../con
fig
.js
'
,
excludeShallow
:
[
excludeShallow
:
[
"
converse-minimize
"
,
"
converse-minimize
"
,
"
converse-dragresize
"
"
converse-dragresize
"
...
...
src/build-no-dependencies.js
View file @
e109c54c
...
@@ -42,5 +42,5 @@
...
@@ -42,5 +42,5 @@
endFile
:
[
"
wrapper-no-jquery.js
"
,
"
wrapper-no-deps.js
"
]
endFile
:
[
"
wrapper-no-jquery.js
"
,
"
wrapper-no-deps.js
"
]
},
},
insertRequire
:
[
'
converse
'
],
insertRequire
:
[
'
converse
'
],
mainConfigFile
:
'
../con
verse
.js
'
mainConfigFile
:
'
../con
fig
.js
'
})
})
src/build-no-jquery.js
View file @
e109c54c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
include
:
[
'
converse
'
],
include
:
[
'
converse
'
],
exclude
:
[
'
jquery
'
,
'
jquery-private
'
],
exclude
:
[
'
jquery
'
,
'
jquery-private
'
],
insertRequire
:
[
'
converse
'
],
insertRequire
:
[
'
converse
'
],
mainConfigFile
:
'
../con
verse
.js
'
,
mainConfigFile
:
'
../con
fig
.js
'
,
wrap
:
{
wrap
:
{
endFile
:
"
wrapper-no-jquery.js
"
endFile
:
"
wrapper-no-jquery.js
"
}
}
...
...
src/build.js
View file @
e109c54c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
baseUrl
:
"
../
"
,
baseUrl
:
"
../
"
,
name
:
"
components/almond/almond.js
"
,
name
:
"
components/almond/almond.js
"
,
out
:
"
../dist/converse.min.js
"
,
out
:
"
../dist/converse.min.js
"
,
mainConfigFile
:
'
../con
verse
.js
'
,
mainConfigFile
:
'
../con
fig
.js
'
,
include
:
[
'
converse
'
],
include
:
[
'
converse
'
],
insertRequire
:
[
'
converse
'
]
insertRequire
:
[
'
converse
'
]
,
})
})
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