Commit 31080bf2 authored by JC Brand's avatar JC Brand

Add a FormData polyfill for Edge comptaibility

Fixes #1220
parent 647f7cf3
# Changelog
## 4.0.2 (2018-??-??)
## 4.0.2 (Unreleased)
- M4A and WEBM files when sent as XEP-0066 Out of Band Data, are now playable directly in chat
- #1220 Converse not working in Edge
## 4.0.1 (2018-09-19)
......
This diff is collapsed.
......@@ -4225,6 +4225,12 @@
"samsam": "1.3.0"
}
},
"formdata-polyfill": {
"version": "3.0.12",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-3.0.12.tgz",
"integrity": "sha512-y5V1Y4e2VSJ29+CAHozJwN9BqvsigYicZp/MqeYP00X/UMah3cLb2ix7/58fLcaAjwr8HfztD7Ih/IQCW1BGfw==",
"dev": true
},
"fragment-cache": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
......
......@@ -9,6 +9,7 @@
(function (root, factory) {
define(["converse-core",
"bootstrap",
"formdata-polyfill",
"lodash.fp",
"templates/converse_brand_heading.html",
"templates/controlbox.html",
......@@ -21,6 +22,7 @@
}(this, function (
converse,
bootstrap,
_FormData,
fp,
tpl_brand_heading,
tpl_controlbox,
......
......@@ -7,6 +7,7 @@
(function (root, factory) {
define([
"converse-core",
"formdata-polyfill",
"utils/muc",
"xss",
"templates/add_chatroom_modal.html",
......@@ -34,6 +35,7 @@
], factory);
}(this, function (
converse,
_FormData,
muc_utils,
xss,
tpl_add_chatroom_modal,
......
......@@ -9,6 +9,7 @@
(function (root, factory) {
define(["converse-core",
"bootstrap",
"formdata-polyfill",
"templates/alert.html",
"templates/chat_status_modal.html",
"templates/profile_modal.html",
......@@ -20,6 +21,7 @@
}(this, function (
converse,
bootstrap,
_FormData,
tpl_alert,
tpl_chat_status_modal,
tpl_profile_modal,
......
......@@ -6,6 +6,7 @@
(function (root, factory) {
define(["converse-core",
"formdata-polyfill",
"templates/add_contact_modal.html",
"templates/group_header.html",
"templates/pending_contact.html",
......@@ -20,6 +21,7 @@
], factory);
}(this, function (
converse,
_FormData,
tpl_add_contact_modal,
tpl_group_header,
tpl_pending_contact,
......
......@@ -80,6 +80,7 @@ const config = {
"IPv6": path.resolve(__dirname, "node_modules/urijs/src/IPv6"),
"SecondLevelDomains": path.resolve(__dirname, "node_modules/urijs/src/SecondLevelDomains"),
"awesomplete": path.resolve(__dirname, "node_modules/awesomplete-avoid-xss/awesomplete"),
"formdata-polyfill": path.resolve(__dirname, "node_modules/formdata-polyfill/FormData"),
"backbone": path.resolve(__dirname, "node_modules/backbone/backbone"),
"backbone.browserStorage": path.resolve(__dirname, "node_modules/backbone.browserStorage/backbone.browserStorage"),
"backbone.nativeview": path.resolve(__dirname, "node_modules/backbone.nativeview/backbone.nativeview"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment