Skip to content

Commit

Permalink
return promise on modifyVars
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Oct 14, 2014
1 parent 337699f commit 29fb697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/less-browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 29fb697

Please sign in to comment.