Add more documentation and tests for options.currentUrlFullReload

Closes #17
This commit is contained in:
Behind The Math committed 2018-02-01 14:02:35 -05:00
1 parent 2ec4c14a46
commit a2aced4f36
3 files changed
+28

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ module.exports = function(options) {
options.cacheBust = (typeof options.cacheBust === "undefined") ? true : options.cacheBust
options.debug = options.debug || false
options.timeout = options.timeout || 0
options.currentUrlFullReload = (typeof options.currentUrlFullReload === "undefined") ? false : options.currentUrlFullReload
// We can’t replace body.outerHTML or head.outerHTML.
// It creates a bug where a new body or head are created in the DOM.