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
0a28e7aa
Commit
0a28e7aa
authored
Mar 02, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1027 Backwards compatibility fix for IE11
parent
34ac7e99
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
9 deletions
+20
-9
CHANGES.md
CHANGES.md
+1
-1
src/converse-core.js
src/converse-core.js
+1
-1
src/polyfill.js
src/polyfill.js
+11
-0
tests/transpiled.html
tests/transpiled.html
+7
-7
No files found.
CHANGES.md
View file @
0a28e7aa
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
-
Avoid
`eval`
(via
`_.template`
from lodash).
-
Avoid
`eval`
(via
`_.template`
from lodash).
-
Don't show bookmark toggles when PEP bookmarking not supported by the XMPP server.
-
Don't show bookmark toggles when PEP bookmarking not supported by the XMPP server.
-
Add LibreJS support
### Bugfixes
### Bugfixes
...
@@ -12,6 +11,7 @@
...
@@ -12,6 +11,7 @@
-
Bookmarks list and open rooms list weren't recreated after logging in for a 2nd time (without reloading the browser).
-
Bookmarks list and open rooms list weren't recreated after logging in for a 2nd time (without reloading the browser).
-
#1024 null reference on MUC Invite
-
#1024 null reference on MUC Invite
-
#1025 OTR lock icon disappears
-
#1025 OTR lock icon disappears
-
#1027
`new Event`
not supported in IE11
## 3.3.3 (2018-02-14)
## 3.3.3 (2018-02-14)
...
...
src/converse-core.js
View file @
0a28e7aa
...
@@ -2051,6 +2051,6 @@
...
@@ -2051,6 +2051,6 @@
'
utils
'
:
u
'
utils
'
:
u
}
}
};
};
window
.
dispatchEvent
(
new
Event
(
'
converse-loaded
'
));
window
.
dispatchEvent
(
new
Custom
Event
(
'
converse-loaded
'
));
return
window
.
converse
;
return
window
.
converse
;
}));
}));
src/polyfill.js
View file @
0a28e7aa
function
CustomEvent
(
event
,
params
)
{
params
=
params
||
{
bubbles
:
false
,
cancelable
:
false
,
detail
:
undefined
};
var
evt
=
document
.
createEvent
(
'
CustomEvent
'
);
evt
.
initCustomEvent
(
event
,
params
.
bubbles
,
params
.
cancelable
,
params
.
detail
);
return
evt
;
}
if
(
typeof
window
.
CustomEvent
!==
"
function
"
)
{
CustomEvent
.
prototype
=
window
.
Event
.
prototype
;
window
.
CustomEvent
=
CustomEvent
;
}
if
(
!
String
.
prototype
.
includes
)
{
if
(
!
String
.
prototype
.
includes
)
{
String
.
prototype
.
includes
=
function
(
search
,
start
)
{
String
.
prototype
.
includes
=
function
(
search
,
start
)
{
'
use strict
'
;
'
use strict
'
;
...
...
tests/transpiled.html
View file @
0a28e7aa
...
@@ -4,15 +4,15 @@
...
@@ -4,15 +4,15 @@
<head>
<head>
<title>
Converse.js Tests
</title>
<title>
Converse.js Tests
</title>
<meta
name=
"description"
content=
"Converse.js: A chat client for your website"
/>
<meta
name=
"description"
content=
"Converse.js: A chat client for your website"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"node_modules/jasmine-core/images/jasmine_favicon.png"
>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"
../
node_modules/jasmine-core/images/jasmine_favicon.png"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"node_modules/jasmine-core/lib/jasmine-core/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"
../
node_modules/jasmine-core/lib/jasmine-core/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"css/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"
../
css/jasmine.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=
"src/config.js"
></script>
<script
src=
"
../
src/config.js"
></script>
<script
data-main=
"
tests/runner-transpiled"
src=
"
node_modules/requirejs/require.js"
></script>
<script
data-main=
"
runner-transpiled"
src=
"../
node_modules/requirejs/require.js"
></script>
<style>
<style>
.tests-brand-heading
{
.tests-brand-heading
{
...
...
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