[Pkg-javascript-commits] [less.js] 59/285: Fix browser tests

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 953f70c879e89aec998f559abaf33dbb072bb86c
Author: Luke Page <luke.a.page at gmail.com>
Date:   Thu Aug 14 18:08:31 2014 +0100

    Fix browser tests
---
 lib/less/source-map-output.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/less/source-map-output.js b/lib/less/source-map-output.js
index aeddd33..5d7d6a8 100644
--- a/lib/less/source-map-output.js
+++ b/lib/less/source-map-output.js
@@ -127,7 +127,7 @@ module.exports = function (less) {
             if (this._writeSourceMap) {
                 this._writeSourceMap(sourceMapContent);
             } else {
-                sourceMapURL = "data:application/json;base64," + require('./encoder.js').encodeBase64(sourceMapContent);
+                sourceMapURL = "data:application/json;base64," + less.environment.encodeBase64(sourceMapContent);
             }
 
             if (sourceMapURL) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list