You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
399 B
15 lines
399 B
less.functions = { |
|
add: function (a, b) { |
|
return new(less.tree.Dimension)(a.value + b.value); |
|
}, |
|
increment: function (a) { |
|
return new(less.tree.Dimension)(a.value + 1); |
|
}, |
|
_color: function (str) { |
|
if (str.value === "evil red") { return new(less.tree.Color)("600") } |
|
} |
|
}; |
|
|
|
describe("less.js main tests", function() { |
|
testLessEqualsInDocument(); |
|
}); |