mirror of
https://github.com/less/less.js.git
synced 2026-01-25 23:28:01 -05:00
11 lines
464 B
JavaScript
11 lines
464 B
JavaScript
functions.addMultiple({
|
|
"test-detached-ruleset" : function() {
|
|
var rule = new tree.Rule('prop', new tree.Anonymous('value'));
|
|
return new tree.DetachedRuleset(new tree.Ruleset("", [ rule ]));
|
|
},
|
|
"test-directive": function() {
|
|
return new tree.Directive("@charset", new tree.Anonymous('"utf-8"'));
|
|
},
|
|
// Functions must return something. Must 'return true' if they produce no output.
|
|
"test-undefined": function() { }
|
|
}); |