Skip to content

Commit

Permalink
Modified Asnyc-View-Error Message to be more clear to:
Browse files Browse the repository at this point in the history
Views can not be constructed / added after the application has been
started. Try to add your views synchronous before document.readyState is
"complete".
  • Loading branch information
Joscha Rohmann authored and Kanaye committed Sep 10, 2016
1 parent 335b756 commit 10d4a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mvc/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ define([

if (this._started) {
// @if DEBUG
blocks.debug.throwMessage('Views can not be constructed / added after the application has been started. Try to add your views sync.', __DEBUG_METHOD, 'Error');
blocks.debug.throwMessage('Views can not be constructed / added after the application has been started. Try to add your views synchronous before document.readyState is "complete".', __DEBUG_METHOD, 'Error');
// @endif
return;
}
Expand Down

0 comments on commit 10d4a4e

Please sign in to comment.