This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Commit bbd3db1
committed
perf($compile): use strict comparison for controller === '@'
In the DDO, controller can be '@', which means the controller name
is taken from the directive attribute. This is undocumented and internally
only used by ngController. There seems to be no case where converting the
controller function to a string would actually be necessary.
Related #142681 parent 2ad8a93 commit bbd3db1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
2487 | | - | |
| 2487 | + | |
2488 | 2488 | | |
2489 | 2489 | | |
2490 | 2490 | | |
| |||
0 commit comments