When using closure compiler with ADVANCED_OPTIMIZATIONS, jQuery.ajax.data object is changed:
$.ajax({
type: "POST",
url: "ajax.php",
data: {
act : "some"
},
success : function(data){}
});
jQuery.ajax.data object is converted to {L : "some"}
I can use quotes, like 'act' : "some"
, but I want this to work without quotes.
In my externs file there is:
/** @type {Object.<string,*>} */
jQuery.ajax.data;
But this doesn't work. Closure compiler version 1043