From 5b6fa7238198ad4d6a4357b4e8f9ea0f7e4708eb Mon Sep 17 00:00:00 2001
From: polem <paulemile.miny@gmail.com>
Date: Thu, 14 Nov 2013 17:24:55 +0100
Subject: [PATCH] fix IE8 enter function support

---
 path.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/path.js b/path.js
index d56a2d8..7aab84b 100644
--- a/path.js
+++ b/path.js
@@ -177,7 +177,7 @@ Path.core.route.prototype = {
         if (Path.routes.defined[this.path].hasOwnProperty("do_enter")) {
             if (Path.routes.defined[this.path].do_enter.length > 0) {
                 for (i = 0; i < Path.routes.defined[this.path].do_enter.length; i++) {
-                    result = Path.routes.defined[this.path].do_enter[i].apply(this, null);
+                    result = Path.routes.defined[this.path].do_enter[i].apply(this, []);
                     if (result === false) {
                         halt_execution = true;
                         break;
@@ -189,4 +189,4 @@ Path.core.route.prototype = {
             Path.routes.defined[this.path].action();
         }
     }
-};
\ No newline at end of file
+};