Skip to content

AppHandler APP_DESTROY_AFTER exists and so does "RESOURCE_FAILED_TO_LOAD" #222

@markhealey

Description

@markhealey

I can't recall why there are multiple things happening on errors like this (and in other places) but this should be cleaned up.

In container.js, both of these are fired when a script fails to load:

F2.Events.emit('RESOURCE_FAILED_TO_LOAD', evtData);
...
_appScriptLoadFailed(appConfigs[0], evtData.src);

If nothing else, the former should be added to the F2.Constants.Events object. Let's mark RESOURCE_FAILED_TO_LOAD for deprecation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions