Binding issue using prefixed #1014

gabrielvjk opened this Issue Aug 8, 2013 · 1 comment


None yet

2 participants


I dont know if this issue has been submited yet but if you call Modernizr.prefixed in objects that does not support binding javascript generates an exception.

Uncaught TypeError: Object function xxx() { [native code] } has no method 'bind'

Fix on method testDOMProps

if (is(item, 'function')){
    if (item.bind)
        return item.bind(elem || obj);
        return item;

This has been fixed and will ship in v3 see line#19 in testDOMProps.js.

@ryanseddon ryanseddon closed this Aug 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment