New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appContent is undefined for pre-loaded apps #211
Comments
@rocco1007 I added a unit test for this because we didn't have one already. I attached a screenshot of the output and there are 3 arguments being passed to the So, can you reproduce this in a jsFiddle? |
@markhealey thanks for looking into this. Here is the jsFiddle. I pretty much used the example from the Pre-Loading docs here. Also, below is a screenshot. |
Hi All, Has anyone had a chance to look into this issue? |
@markhealey The test only looks for the number of arguments, not that they're correct. Rocco's fiddle shows that the second param, "appContent", is undefined. Are there conditions in which "appContent" should be undefined? If not we should look into what's causing it and change the test to be more specific. |
Excellent fiddle @rocco1007, thanks. Sorry for the delayed look at this, holidays and all that sort of thing. @montlebalm I can't think of a single reason that |
@montlebalm did you end up doing any work on this one? |
@markhealey only enough to confirm the problem. |
patch verified in 1.4.1-wip here => http://plnkr.co/edit/XM0LYh?p=preview |
I am working on pre-loading apps and getting an error that "appContent" is undefined when the App_Class is loaded. After taking a look at f2.debug.js it doesn't look like appContent gets passed to _createAppInstance in registerApps. Is there a way to manually pass this and/or can F2 be updated to pass this?
here is a snippet of the code roughly line 16539:
The text was updated successfully, but these errors were encountered: