mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
IE fix
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user