From 2939a2a4123d59b3ad0d2db84992c3916efaa412 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Mon, 4 Jun 2012 13:00:39 -0400 Subject: [PATCH] Revert "Skip pushState tests with 'file:' protocol." This reverts commit 76eeafcc3a321ad20e45e98edbb54b03a0647821. --- test/router.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/router.js b/test/router.js index decd9438..ec360ffb 100644 --- a/test/router.js +++ b/test/router.js @@ -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) {