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

Missing trailing semicolon in bundled compressed

giohappy opened this issue · comments

The compressed bundle misses ending semicolon, at least for jQuery's, which can cause problems when incorporated in applications bundles.

I just ran into the same issue. Tried to bundle using gulp.

Console is showing the following error:

Uncaught TypeError: (intermediate value)(...) is not a function
    at main.min.5229.js:4

I narrowed it down to the one missing semicolon @giohappy is talking about.

Okay, I just noticed this only happens wenn bundling the uncompressed files. Bundling the compressed files works fine.