There are some odd whitespace characters after exp in "$.cookie(key, value, { expires: exp });" This is causing javascript errors using JSMin compressor in Advanced Aggregation module.
You can see it here color coded in purple:
http://cgit.drupalcode.org/radioactivity/tree/js/radioactivity.js?h=7.x-...
In js/radioactivity.js
store: function (key, value, exp) {
//return this.hardStore(key, value, exp);
if (typeof(Storage) !== "undefined") {
// Fall back to using cookies if this fails
try {
localStorage.setItem(key, JSON.stringify({
value: value,
expire: exp.getTime()
}));
} catch(e) {
$.cookie(key, value, { expires: exp });
}
} else {
$.cookie(key, value, { expires: exp });
}
},
Comments
Comment #2
jrabeemer commentedComment #3
jrabeemer commentedPatch.
Comment #4
jrabeemer commentedComment #5
sutharsan commentedI can't see what is wrong, but I trust your explanation. Code looks good.
Changing to bug because it causes a problem.
Comment #7
sutharsan commented