Hello, everyone!
I'm wroking on code adaptation for an app to Tizen plataform (Smart TV). I have the lastet version of the IDE instaled, using the emulator to debug as developmento progress.
However, I stumbled on a problem with a javascript property that should work regardless of the plataform:
- Code -
//A 'parent!' function:
function Navigator() {
this.init = function() {
...
}
}
//A 'child function:
function MainNavigator() {
...
}
MainNavigator.prototype = new Navigator();
//Calling it:
var navigator = new MainNavigator();
navigator.init();
When usign Chrome to debug my app, there is no problem, navigator uses it's prototype init() function normally. On the SDK emulator, however, the init() function is not recognized, as if the prototype was not set ('TypeError: 'undefined' is not a function');
Has anyone already seen this problem before?
Thanks,
Adriel