Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Fix test site for IE 11 #300

Merged
merged 1 commit into from
Nov 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<link rel="stylesheet" href='./styles.css' />
<link rel="stylesheet" href='https://cdn01.boxcdn.net/platform/preview/1.58.2/en-US/preview.css' />
<link rel="stylesheet" href='https://unpkg.com/box-annotations@3.3.0/lib/annotations.css' />
<script src='https://cdn01.boxcdn.net/polyfills/core-js/2.5.3/core.min.js'></script>
<script src='https://cdn01.boxcdn.net/platform/preview/1.58.2/en-US/preview.js'></script>
<script src='https://unpkg.com/box-annotations@3.3.0/lib/annotations.js'></script>


</head>

<body>
Expand Down Expand Up @@ -70,13 +69,13 @@
};

/* global BoxAnnotations */
const boxAnnotations = new BoxAnnotations(options);
const annotations = new BoxAnnotations(options);

/* global Box */
var preview = new Box.Preview();
preview.show(fileid, token, {
container: ".preview-container",
boxAnnotations
boxAnnotations: annotations
});

}
Expand Down