Microsoft AjaxMinifier 5.9

Rating: No reviews yet
Downloads: 1104
Change Set: 108449
Released: Apr 26, 2014
Updated: Apr 27, 2014 by ronlo
Dev status: Stable Help Icon

Recommended Download

Application AjaxMin5.9
application, 1444K, uploaded Apr 27, 2014 - 1104 downloads

Release Notes

Just a couple minor features I needed for work:
  • new -amd switch that automatically adds "define" and "require" to the known globals list, and removes duplicate named modules define("modulename",...) from the combined source file.
  • stand-alone tokens or tokens that are the only contents of a string literal will be examined, and if they start with CurrentCulture, the dotted path will be resolved against the thread's CultureInfo.CurrentCulture object and replace the token. For example:
var monthNames = %CurrentCulture.DateTimeFormat.MonthNames%;
var percent = "%CurrentCulture.NumberFormat.PercentSymbol%";

will result in:
var monthNames=["January","February",...],percent="%"

and the actual values will vary by the thread's current culture. If the culture isn't getting set elsewhere, you can set the thread's current culture with the -culture:LL-CC switch. This switch, however, will set the thread's current culture and not reset it back to what it was, so beware of any unintended side-effects.

Reviews for this release

No reviews yet for this release.