Skip to content

Conversation

shahruk
Copy link

@shahruk shahruk commented Oct 9, 2014

History.js adapter throws an error saying it has already been loaded. However, on a server that minifies multiple javascript files and compresses them into one, this results in an error that breaks the entire script which is poor practice.

A console.log and a return statement accomplish the same functionality while preserving functionality and not breaking existing scripts on a site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant