Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Commented Unassigned: Named anonymous function is renamed incorrectly [20309]

$
0
0
In AjaxMin 4.x, named anonymous function is renamed incorrectly so my code doesn't work after minified. For example:

Before minification:

```
setTimeout(function test() {
dosomething();
setTimeout(test, 1000);
}, 1000);
```

After minification:

```
setTimeout(function () {
dosomething();
setTimeout(f, 1000); // <-- but f is undefined now, so it won't work.
}, 1000);
```

Thanks,
Comments: ** Comment from web user: ronlo **

That's a pretty old version. Have you tried a newer one?


Viewing all articles
Browse latest Browse all 683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>