Commit 95bf856
committed
findScriptPathAndLoadModules speed up path
speed up path detection
instead of looping through each script in DOM and checking src to see if it is form-validator,
change jQ selector to use AttributeContains modifier
so the correct script is detected the first loop1 parent 0cd6b32 commit 95bf856
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
775 | 770 | | |
776 | 771 | | |
777 | 772 | | |
| |||
0 commit comments