Skip to content

Commit

Permalink
fix less.mode in node
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Nov 14, 2011
1 parent 2a9cc68 commit 2af0f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/less/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (typeof environment === "object" && ({}).toString.call(environment) === "[obj
// Node.js
less = exports,
tree = require('./tree');
less.mode = 'rhino';
less.mode = 'node';
} else {
// Browser
if (typeof(window.less) === 'undefined') { window.less = {} }
Expand Down

0 comments on commit 2af0f62

Please sign in to comment.