mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
36b59c9661
The previous regex caused the final jQuery binary to have syntax errors for
var-modules with names starting with "return". For example, the following module
wouldn't work when the file is named `returnTrue.js`:
```js
define( function() {
"use strict";
return function returnTrue() {
return true;
};
} );
```
Closes gh-4389
(cherry picked from commit
|
||
---|---|---|
.. | ||
release | ||
tasks | ||
release.js |