Matthew Dean
42fd7dca20
Release v3.5.0 beta ( #3230 )
...
* Lint cleanup of quotes
* v3.5.0-beta
2018-06-24 20:14:33 -07:00
Matthew Dean
af5656944a
Update tests for lowercase API
2017-10-08 18:46:01 -07:00
Max Mikhailov
006ce2651d
special functions: add boolean and if, clean up alpha
2017-06-07 16:31:35 +03:00
Max Mikhailov
6a683eb62d
eslint spaced-comment and corresponding changes
2017-06-01 02:27:55 +03:00
Matthew Dean
b782411278
Sync default options across all Less.js environments
...
- More tests for plugins
2017-01-10 17:44:50 -08:00
Matthew Dean
809dc509f3
Arbitrary (non-falsey) values returned from functions are cast as Anonymous nodes
2017-01-06 19:39:23 -08:00
Matthew Dean
fda4565e8d
Replace "return {}" statement in plugins with explicit registerPlugin() function (more logical)
2016-12-31 11:53:53 -08:00
Matthew Dean
39150d513a
Simplified API on less object
...
e.g. "less.Ruleset()" instead of "new less.tree.Ruleset()"
Auto-casting of string values into nodes for AtRule, Declaration, Selector, Value
e.g. "less.Selector('&.a')" instead of "new tree.Selector(new tree.Element(new tree.Combinator('&'), '.a'))"
2016-07-19 01:30:34 -07:00
Matthew Dean
a3e43acb26
Pass function registry to plugin install()
...
- Create Anonymous nodes from non-null (but non-Node) function return values
- Allow empty Anonymous nodes to collapse on output
2016-07-15 16:05:20 -07:00
Matthew Dean
e309bf67a2
Added the concept of inherited index / fileInfo for nodes
2016-07-14 02:07:15 -07:00
Matthew Dean
ad57737ce0
All tests passing for @plugin
...
- Inline JavaScript disabled by default
- Deprecated "preprocessor" option removed (preprocessor plugins still valid)
2016-07-12 22:26:39 -07:00
Matthew Dean
270fd097c9
Plugin loader set up for lessc, node, and browser
2016-07-06 13:26:25 -07:00
Matthew Dean
bd14f14709
Rename @plugin to @use extensions
2016-06-24 20:36:00 -07:00
Matthew Dean
d061bdb2f1
Added tests for valid and invalid nodes returned by functions
2016-03-05 14:31:13 -07:00
Matthew Dean
6e97db84b3
Tests passing for creating directives
2016-03-04 14:10:53 -07:00
Matthew Dean
87f8b2d43e
Add test demonstrating arguments and semi-colon separators
2016-01-26 17:10:15 -08:00
Matthew Dean
7f535a891d
Allow root functions defined via @plugin
2016-01-26 16:54:51 -08:00
rjgotten
4d17c8b35d
Fix plugin scope for mixins, directives and detached rulesets
...
Fixed scope for plugins to apply correctly for mixins, directives and
detached rulesets.
Updated plugin unit tests to be more comprehensive
2015-03-20 16:41:05 +01:00