Skip to content

Commit

Permalink
Fix: Fix test site for IE 11 (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press committed Nov 28, 2018
1 parent 5e277a0 commit 359bda3
Showing 1 changed file with 3 additions and 4 deletions.
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

0 comments on commit 359bda3

Please sign in to comment.