From e99aae750f603b870d86ef51f6b0e1a3be37309b Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Sun, 27 Jan 2013 03:46:12 +0000 Subject: [PATCH] Fix for IE 8 [see #46] --- path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/path.js b/path.js index d56a2d8..9ebe986 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 +};