diff --git a/lib/less/browser.js b/lib/less/browser.js index cba4c3b6..77e59ae1 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -233,7 +233,7 @@ function xhr(url, type, callback, errback) { xhr.send(null); if (isFileProtocol) { - if (xhr.status === 0) { + if (xhr.status === 0 || (xhr.status >= 200 && xhr.status < 300)) { callback(xhr.responseText); } else { errback(xhr.status, url);