Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit f76c7be

Browse files
committed
fix(ngHint): bootstrap correctly if int in protractor
1 parent bcc2a72 commit f76c7be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hint.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ if(window.name === 'NG_DEFER_BOOTSTRAP!') {
2828
//If this is not a test, defer bootstrapping
2929
else {
3030
window.name = 'NG_DEFER_BOOTSTRAP!';
31-
}
3231

33-
// determine which modules to load and resume bootstrap
34-
document.addEventListener('DOMContentLoaded', maybeBootstrap());
32+
// determine which modules to load and resume bootstrap
33+
document.addEventListener('DOMContentLoaded', maybeBootstrap);
34+
}
3535

3636
function maybeBootstrap() {
3737
// we don't know if angular is loaded

0 commit comments

Comments
 (0)