From 45da7c0fba8e2f5fd88e35300e81bea5353ddfc7 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Mon, 12 Jul 2010 08:06:38 -0400 Subject: [PATCH] IE fix --- lib/less/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/parser.js b/lib/less/parser.js index b6158080..327f48a3 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -1050,7 +1050,7 @@ if (typeof(window) !== 'undefined') { // Used by `@import` directives // less.Parser.importer = function (path, paths, callback) { - if (path[0] !== '/' && paths.length > 0) { + if (path.charAt(0) !== '/' && paths.length > 0) { path = paths[0] + path; } // We pass `true` as 3rd argument, to force the reload of the import.