browserstate / history.js

History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.

Home Page:http://browserstate.github.com/history.js/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

History.js is not compatible with Webpack's require()

FractalizeR opened this issue · comments

@FractalizeR Did you solve this problem?

@megatolya You can do it with imports-loader:

require('imports!history.js/history.js'); require('imports!history.js/history.adapter.ender.js');