Skip to main content
Inspiring
June 11, 2014
Question

Javascript in AIR, bind function undefined

  • June 11, 2014
  • 1 reply
  • 596 views

I'm creating an HTML/Javascript based AIR app, but getting the error that 'bind' (a standard JavaScript function) is undefined.

Since bind is being used in a 3rd party library this pretty much kills my hopes of using it unless I wanted to hack through that library, which I don't. I guess this is because the version of WebKit embedded in AIR is not able to support bind for whatever reason (I'm publishing to AIR 13.0)

But I'm wondering if the correct approach is to create an ActionScript based app that uses StageWebView? Is StageWebView using a more updated version of WebKit?

Thanks

This topic has been closed for replies.

1 reply

Participant
January 14, 2017

Hi all.

I'm have this problem too, but on AIR 24.0. Any one known, this problem will be fixed, or not ? Hack on this page Function.prototype.bind() - JavaScript | MDN will not help for me.