hammer.js Object doesn't support property or method 'create'

0

I using hammer.js on my web site, it's working great on chrome , but not working on IE11.

I got this error :

Unhandled exception at line 25, column 9 in http://localhost:59764/js/hammer.js

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'create'

It's in this function in the hammer.js file.

function h(a, b, c) {
    var d, e = b.prototype;
    d = a.prototype = Object.create(e),
    d.constructor = a,
    d._super = e,
    c && f(d, c)
}

Is there a way to solve that ?

javascript
jquery
hammer.js
asked on Stack Overflow Jul 10, 2015 by Igor Gumush

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0