I'm trying to get a working prototype of sigma.js working.

I can download their package, and straight up open the example files in my browser (IE11), and it works fine.

However, if I try deploy it to a webapp, it gives me this error:

var _handlers = Object.create(null);

Object doesn't support property or method 'create'

The HTML source is exactly the same, except that the script imports look like:

<script src="js/sigma/src/misc/sigma.misc.drawHovers.js"></script>

instead of

<script src="../src/misc/sigma.misc.drawHovers.js"></script>

Other notes:

This webapp does work on FF11, and doesn't work on IE8.

1

There are 1 best solutions below

0
On BEST ANSWER

Check that you aren't in compatibility mode.

Click the cog in top right corner -> compatibility view settings -> either remove the website from the list, or uncheck 'display intranet sites in Compatibility View'.