Skip to content
Snippets Groups Projects
Commit 147c237b authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

remove debug

parent c174ec01
No related branches found
No related tags found
1 merge request!83Exchange 2016 support
...@@ -499,11 +499,6 @@ const connection = Penpal.connectToParent({ ...@@ -499,11 +499,6 @@ const connection = Penpal.connectToParent({
// Methods child is exposing to parent // Methods child is exposing to parent
methods: { methods: {
initialize: (apiUrl, wopiUrl, collaboraUrl) => { initialize: (apiUrl, wopiUrl, collaboraUrl) => {
window.crypto = window.crypto || window.msCrypto; //for IE11
if (window.crypto.webkitSubtle) {
window.crypto.subtle = window.crypto.webkitSubtle; //for Safari
}
if (!apiUrl) { if (!apiUrl) {
apiUrl = `${window.location.origin}/api/`; apiUrl = `${window.location.origin}/api/`;
console.warn(`API host URL not specified. Fall back to ${apiUrl}`); // eslint-disable-line no-console console.warn(`API host URL not specified. Fall back to ${apiUrl}`); // eslint-disable-line no-console
......
...@@ -7,8 +7,8 @@ module.exports = { ...@@ -7,8 +7,8 @@ module.exports = {
"viamapi-client": ["core-js/fn/promise", "./src/viamapi-client.js"], "viamapi-client": ["core-js/fn/promise", "./src/viamapi-client.js"],
"viamapi-iframe": [ "viamapi-iframe": [
"babel-polyfill", "babel-polyfill",
// "asmcrypto.js", "asmcrypto.js",
// "webcrypto-liner", "webcrypto-liner",
"./src/iframe/viamapi-iframe.js" "./src/iframe/viamapi-iframe.js"
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment