We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e77a744 commit ab36c4bCopy full SHA for ab36c4b
src/Angular.js
@@ -1696,13 +1696,8 @@ function angularInit(element, bootstrap) {
1696
});
1697
if (appElement) {
1698
if (!isAutoBootstrapAllowed) {
1699
- try {
1700
- window.console.error('AngularJS: disabling automatic bootstrap. <script> protocol indicates ' +
+ window.console.error('AngularJS: disabling automatic bootstrap. <script> protocol indicates ' +
1701
'an extension, document.location.href does not match.');
1702
- } catch (e) {
1703
- // Support: Safari 11 w/ Webdriver
1704
- // The console.error will throw and make the test fail
1705
- }
1706
return;
1707
}
1708
config.strictDi = getNgAttribute(appElement, 'strict-di') !== null;
0 commit comments