Commit b1a6baa
committed
fix($injector): check if a fn is an array explicitly
This change makes the code easier to read and also fixes a compatibility issue
with opal.js which pollutes the global state by setting $inject property on
Array prototype
Closes angular#7904
Closes angular#26531 parent 43ff573 commit b1a6baa
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
796 | | - | |
| 795 | + | |
797 | 796 | | |
798 | 797 | | |
799 | 798 | | |
| |||
0 commit comments