From 29fb697d7a8e3a81c6d6daaad8321bd98837cea0 Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Tue, 14 Oct 2014 00:30:21 -0700 Subject: [PATCH] return promise on modifyVars --- lib/less-browser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js index 113233c49..1157d3634 100644 --- a/lib/less-browser/index.js +++ b/lib/less-browser/index.js @@ -239,7 +239,7 @@ for (var i = 0; i < links.length; i++) { // CSS without reloading less-files // less.modifyVars = function(record) { - less.refresh(false, record); + return less.refresh(false, record); }; less.refresh = function (reload, modifyVars) {