Skip to content

Commit

Permalink
Restore cacheBust feature mistakenly removed in last commit, but with…
Browse files Browse the repository at this point in the history
…out file URL check as that's handled in later code.

Enyo-DCO-1.1-Signed-Off-By: Ben Combee (ben.combee@palm.com)
  • Loading branch information
Ben Combee committed Dec 14, 2012
1 parent a7d56db commit a269c45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/ajax/Ajax.js
Expand Up @@ -79,6 +79,9 @@ enyo.kind({
args.push(query);
query = null;
}
if (this.cacheBust) {
args.push(Math.random());
}
//
var url = args.length ? [uri, args.join("&")].join("?") : uri;
//
Expand Down

0 comments on commit a269c45

Please sign in to comment.