Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test with instanceof instead of existence of charAt
  • Loading branch information
NDMarcel committed Mar 9, 2012
commit f07aba9324a26ab8af44f97c3c193b8ab012627d
2 changes: 1 addition & 1 deletion lib/less/tree/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tree.Rule = function (name, value, important, index, inline) {
this.inline = inline || false;
this.quotedName = false;

if (!name.charAt) {
if (name instanceof tree.Quoted) {
this.quotedName = true;
} else if (name.charAt(0) === '@') {
this.variable = true;
Expand Down