Hi Ashley
When I was looking at the CocoonJS Launcher error log on my Ipad , It mentions line no 1062 in preview_prelude.js
So when I looked at preview_prelude.js, turn out you were calling JQuery for the toggle breakpoint feature.
I`m surprised that it seems that I`m the only one having this issue ?
So I guess for now, at least for my case I just modified your code a bit like this
// Keyboard shortcuts
if(window["c2cocoonjs"] === false){
jQuery(document).keydown(function(info) {
if (info.which === 121) // F10 to step/next
{
onStep();
info.preventDefault();
}
});
}
or just remove the jquery thing and use this
document.onkeydown = function(event){
event = event || window.event;
var keycode = event.charCode || event.keyCode;
if(keycode === 121){
onStep();
event.preventDefault();
}
}
In cocoonjs launcher preview It will never run the Jquery thing.
Also preview via wifi , the toggle breakpoint with "F10" wont even work unless I use bluetooth keyboard with the phone/tablet to go next step or just click continue on the screen. I think
Sorry keep bugging you though about this bug.