Matthew Dean
d821a3754f
v3.5.0-beta.6 ( #3255 )
...
* v3.5.0-beta.6
* Fix setOptions test
2018-07-02 20:20:30 -07:00
Calvin Juárez
d54251276a
Plugins: If minVersion >= 3.0.0, don't "pre-run" .setOptions() ( #3247 )
...
* dev – add .editorconfig
* AbstractPluginLoader – check for minVersion < 3 before running .setOptions() twice
* tests – separate unspecified minVersion test from minVersion: [2,0,0] test
2018-07-02 19:45:29 -07:00
Matthew Dean
29468bffcd
Bugfix - namespace values ( #3251 )
...
* Added more CSS Grid tests
* Added media query example to tests
* Fixed bug where namespace values didn't work in guards and operations
* Fix failing setOptions test
* Update phantomJS, demo more permissive DR tests
* v3.5.0-beta.5
2018-07-01 19:43:24 -07:00
Matthew Dean
7a47223dd9
Fixes #3187 (couldn't repo, but found bugs) ( #3229 )
...
* (Maybe) Fixes #3187 (couldn't repo, but found bug)
- Fixes multiple Node.js plugins not being loaded
* Added .eslintignore
* Added tests to fix #3187
* Fixed browser test
2018-06-30 00:24:46 -07:00
Matthew Dean
566f42862e
Fixes #3205 , partial 3.0 math regression #1880 ( #3228 )
...
* Fixes Mixin call args not being visited
* Add ability to use ES6 in tests
* Fixes #3205 and partial 3.0 math regression #1880
2018-06-26 23:26:01 -07:00
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