Comment 15 for bug 1733666

Revision history for this message
Ferran Pujol (ferranpujol) wrote :

Another way to do this is to make engine.makeConnection take no additional parameter and make it execute its callback as is, without binding it to any object.

Then bind the function to "this" in Object.prototype.makeConnection.