mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
all: Remove unused code
Using x/tools/cmd/deadcode
This commit is contained in:
@@ -113,12 +113,6 @@ func ForceRefresh() {
|
||||
RefreshPath("/x.js")
|
||||
}
|
||||
|
||||
// NavigateToPath tells livereload to navigate to the given path.
|
||||
// This translates to `window.location.href = path` in the client.
|
||||
func NavigateToPath(path string) {
|
||||
RefreshPath(hugoNavigatePrefix + path)
|
||||
}
|
||||
|
||||
// NavigateToPathForPort is similar to NavigateToPath but will also
|
||||
// set window.location.port to the given port value.
|
||||
func NavigateToPathForPort(path string, port int) {
|
||||
|
Reference in New Issue
Block a user