fix onunload typo
This commit is contained in:
parent
6b7ac83dde
commit
baa55cd262
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ var m = (function app(window, undefined) {
|
||||||
if (cached.configContext && isFunction(cached.configContext.onunload)) cached.configContext.onunload();
|
if (cached.configContext && isFunction(cached.configContext.onunload)) cached.configContext.onunload();
|
||||||
if (cached.controllers) {
|
if (cached.controllers) {
|
||||||
forEach(cached.controllers, function (controller) {
|
forEach(cached.controllers, function (controller) {
|
||||||
if (controller.unload) controller.onunload({preventDefault: noop});
|
if (controller.onunload) controller.onunload({preventDefault: noop});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue