Revert "Skip pushState tests with 'file:' protocol."

This reverts commit 76eeafcc3a.
This commit is contained in:
Brad Dunbar
2012-06-04 13:00:39 -04:00
parent 76eeafcc3a
commit 2939a2a412

View File

@@ -4,9 +4,7 @@ $(document).ready(function() {
var lastRoute = null;
var lastArgs = [];
var pushState = window.location.protocol !== 'file:' &&
window.history &&
window.history.pushState;
var pushState = window.history && window.history.pushState;
var pathname = window.location.pathname;
function onRoute(router, route, args) {