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

Commit 183a0bb

Browse files
committed
fix(bootstrap): do not instrument angular <1.2
1 parent 6d4792e commit 183a0bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hint.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ function maybeBootstrap() {
6262

6363
function loadModules() {
6464
var modules = [], elt;
65+
if (angular.version.minor < 2) {
66+
return modules;
67+
}
6568

6669
if ((elt = document.querySelector('[ng-hint-include]'))) {
6770
modules = hintModulesFromElement(elt);

0 commit comments

Comments
 (0)