Skip to content

Commit 10d4a4e

Browse files
Joscha RohmannKanaye
authored andcommitted
Modified Asnyc-View-Error Message to be more clear to:
Views can not be constructed / added after the application has been started. Try to add your views synchronous before document.readyState is "complete".
1 parent 335b756 commit 10d4a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mvc/Application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ define([
264264

265265
if (this._started) {
266266
// @if DEBUG
267-
blocks.debug.throwMessage('Views can not be constructed / added after the application has been started. Try to add your views sync.', __DEBUG_METHOD, 'Error');
267+
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');
268268
// @endif
269269
return;
270270
}

0 commit comments

Comments
 (0)