diff --git a/lib/less/browser.js b/lib/less/browser.js index 2ad71ff..579d1e1 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -2,7 +2,9 @@ // browser.js - client-side engine // -var isFileProtocol = location.protocol === 'file:'; +var isFileProtocol = (location.protocol === 'file:' || + location.protocol === 'chrome:' || + location.protocol === 'resource:'); less.env = location.hostname == '127.0.0.1' || location.hostname == '0.0.0.0' ||