Closed rocco1007 closed 8 years ago
@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 AppClass
as intended including appContent
.
So, can you reproduce this in a jsFiddle?
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 appContent
should be undefined. At the very least it should be an empty string.
@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: