Release build fails
The www version works but then clicking on an item in a list it fails for the www.release build with the following error:
Uncaught TypeError: Cannot call method ‘apply’ of undefined
a.call
(anonymous function)
oonclick is set to:
onclick=m.rootwhere m is a type and root is Callback
Submitted by Terje Pedersen on 1 April 2011 at 11:25
Issue Log
On 1 April 2011 at 12:57 Terje Pedersen commented:
I think I know what is wrong, since the screen from my module isn’t called from the main mobl file its stripped away most likely marked as not used by the compiler. From my module where I add the callbacks the only thing generated is the mobl.call to it and not the function code from my module.
Log in to post comments