- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit9ec09c3
authored
Build: Fix the regex parsing AMD var-modules (#4389)
The previous regex caused the final jQuery binary to have syntax errors forvar-modules with names starting with "return". For example, the following modulewouldn't work when the file is named `returnTrue.js`:```jsdefine( function() {"use strict";return function returnTrue() {return true;};} );```Closesgh-43891 parent3527a38 commit9ec09c3
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
0 commit comments
Comments
(0)