[
https://issues.apache.org/jira/browse/RIPPLE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665119#comment-13665119
]
Chris Schaub commented on RIPPLE-19:
------------------------------------
Regarding my initial bug post. The other thread mentions that it might be due
to the default device being selected. But it happens even when the default
device is not selected. I have mine set to select a Galaxy S etc. It feels a
bit like a race condition, the viewport id is not ready when ripple tries to
call for it. Maybe some way to poll for it and then fire the append?
> White screen on first try
> -------------------------
>
> Key: RIPPLE-19
> URL: https://issues.apache.org/jira/browse/RIPPLE-19
> Project: Apache Ripple
> Issue Type: Bug
> Environment: osx, chrome, safari, cordova 2.6.2, cordova-cli, jquery
> mobile, ripple 9.16
> Reporter: Chris Schaub
>
> When I visit a page, the ripple editor shows a white screen on the first try,
> but the console shows the code is there. If I choose reload frame, then I get
> then interface drawn correctly. I've tried using other versions of cordova,
> but nothing helps. I get the "Wait" red screen, failure to emulate. I did
> notice that it seems to be waiting on this, sometimes:
> Line 25631 in ripple.js
> document.getElementById("viewport-container").appendChild(frame);
> and sometimes I see an error:
> Uncaught SyntaxError: Unexpected token u
> But the reload fixes it, very strange. I'm invoking the emulator ...
> % cordova ripple ios
> But it also seems to happen when I visit the page directly, not via cordova's
> invocation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira