Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vereign Client Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
Vereign Client Library
Commits
147c237b
Commit
147c237b
authored
5 years ago
by
Zdravko Iliev
Browse files
Options
Downloads
Patches
Plain Diff
remove debug
parent
c174ec01
No related branches found
No related tags found
1 merge request
!83
Exchange 2016 support
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
javascript/src/iframe/viamapi-iframe.js
+0
-5
0 additions, 5 deletions
javascript/src/iframe/viamapi-iframe.js
javascript/webpack.config.js
+2
-2
2 additions, 2 deletions
javascript/webpack.config.js
with
2 additions
and
7 deletions
javascript/src/iframe/viamapi-iframe.js
+
0
−
5
View file @
147c237b
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
javascript/webpack.config.js
+
2
−
2
View file @
147c237b
...
@@ -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
"
]
]
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment