Make cache-busting optional

Closes #70
This commit is contained in:
Bart Nagel committed 2016-06-24 02:00:37 -07:00
1 parent 7cdcf3c887
commit 06473cb739
5 files changed
+33 -3

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ module.exports = function(options){
}
}
this.options.scrollTo = (typeof this.options.scrollTo === 'undefined') ? 0 : this.options.scrollTo;
this.options.cacheBust = (typeof this.options.cacheBust === 'undefined') ? true : this.options.cacheBust
this.options.debug = this.options.debug || false
// we can’t replace body.outerHTML or head.outerHTML