Matthew Dean
f1a3a250c4
Fixes #3235 ( #3237 )
2018-06-29 18:18:11 -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
4f6818db37
Merge branch '3.x' into dev/3.x-work
2017-10-08 15:30:08 -07:00
Matthew Dean
26674fc867
FIXES syncImport for less-node
2017-10-08 15:21:13 -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
ede0587368
Revert contrast changes in 2.7.1
2017-01-04 17:50:59 -08:00
Matthew Dean
49cbe520f6
Migrate JSCS and JSHint to ESLint and fix various ESLint styling errors
2016-12-31 20:03:46 -08:00
Matthew Dean
e309bf67a2
Added the concept of inherited index / fileInfo for nodes
2016-07-14 02:07:15 -07:00
Matthew Dean
1df9443cf4
Add create() and getLocalFunctions() to function registry so it can be used for plugins
2016-07-01 14:43:00 -07:00
Natalie Weizenbaum
657972cc41
Update my name.
2016-05-05 14:17:07 -07:00
Matthew Dean
bcc8ced8b0
Merge pull request #2754 from Synchro/master
...
Update contrast function and tests, fixes #2743
2016-03-15 09:52:40 -07:00
Luke Page
29f8ae22cc
upgrade jshint and fix new errors
2016-01-30 08:29:47 +00:00
Synchro
6dd409aba3
Update contrast function and tests
2015-12-07 13:50:35 +01:00
jurcovicovam
e8efa6e033
Percentage should work the same way as other math functions (round, floor,
...
etc) and throw error on NaN. #2553
2015-07-20 14:31:53 +02:00
seven-phases-max
13ef5b7422
proper non-primitive value replacement for % and replace functions
2015-03-31 19:35:22 +04:00
Luke Page
a6dca8872a
Merge pull request #2504 from bassjobsen/relative
...
optional relative amounts for color functions, see#975
2015-03-20 08:22:44 +00:00
Bass Jobsen
622a521b11
optional relative amounts for color functions, see#975
2015-03-15 00:12:47 +01:00
rjgotten
94d3f469d4
merge from upstream
2015-03-05 16:12:56 +01:00
rjgotten
d119e01807
Scoped @import (plugin) functions loading
...
- Limited @import (plugin) support to add/addMultiple of functions
- Altered @import (plugin) loading to support browser
- Support proper closure scoping of @import (plugin) loaded functions
2015-03-05 15:55:37 +01:00
Luke Page
7d86a5e72d
Temp. fix for comment nodes in functions. Fixes #2475
2015-02-26 18:22:39 +00:00
Bass Jobsen
121bdd8365
allow a list of colors as argument for the svg-gradient function
2015-02-11 20:35:28 +01:00
Luke Page
97d039f267
extract and length now skip over comment nodes. Fixes #2431
2015-02-04 17:28:48 +00:00
Luke Page
604c911441
style cop 2 - indentation
2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0
More style cop..
2015-01-30 18:28:02 +00:00
Luke Page
d206167c84
enforce spaces between operators for consistency
2015-01-27 22:24:12 +00:00
Luke Page
dc703deaf0
laxbreak
2015-01-27 22:02:05 +00:00
Luke Page
08a7f9ebeb
more whitespace rules
2015-01-27 21:38:13 +00:00
Luke Page
31c3d04980
jscs style checking. Fixed whitespace issues.
2015-01-26 23:34:35 +00:00
Luke Page
b09f30e079
support variables passed to data-uri
2015-01-26 20:17:27 +00:00
Luke Page
8ed6a9748e
Merge pull request #2392 from Justineo/isruleset
...
add support for `isruleset`
2015-01-15 07:23:15 +01:00
Justineo
297ac17dda
add support for isruleset
2015-01-15 12:12:39 +08:00
shaun
023dd62c88
Make copy of options before each test set.
...
Some operations modify the options object, which could influence the next
test set.
Modified the test labels in the output to include the
folder (to distinguish between the normal and BOM tests).
Modified warning message from data-uri file-not-found to include the
filename.
2015-01-14 08:26:39 -08:00
seven-phases-max
112bfec4e5
fixes svg-gradient function broken by prev. color object changes
2015-01-11 22:13:12 +04:00
seven-phases-max
f0d7b6a9fa
allow colour keywords to serve as variable names (for @@)
2015-01-11 04:45:30 +04:00
Luke Page
11fd6b17dc
Default svgs to not be base64 encoded. encodeUri the svg-gradient function (and never base64 encode it). Fixes #2250
2015-01-03 14:59:51 +00:00
Luke Page
f0780394fb
Fix data-uri to count characters not the size of the file.
2015-01-01 19:06:05 +00:00
Luke Page
26fe1c4861
Merge pull request #2337 from bassjobsen/patch-1
...
Better output for the warning when file size exceeds
2015-01-01 19:54:41 +01:00
Luke Page
6b88f31ed5
Merge branch 'hotfix/isunit-empty' of https://github.com/chromice/less.js
...
Conflicts:
lib/less/functions/types.js
2015-01-01 17:56:36 +00:00
Luke Page
4704583540
Support empty as a valid argument for isunit. Fixes #2324
2015-01-01 17:49:12 +00:00
Luke Page
e334d69be4
Fix inconsistancy with encoding base64 with data-uri - wasn't calling right function
2015-01-01 17:09:25 +00:00
Luke Page
3f6abd18fe
also fix data-uri when in a sub-directory and a mixin with relative paths
2015-01-01 16:50:40 +00:00
Luke Page
99da1f21a3
revert original fix for #2360 and fix #2360 by constructing the URL using a Quoted type instead of an anonymous one, since the url is quoted.
2015-01-01 16:41:02 +00:00
Bass Jobsen
0dfb2416d1
Better output for the warning when file size exceeds
...
As far as i understand does the logger.warn() function not accept such string neither has Less a built-in string format function?
2014-12-15 12:02:22 +01:00
Anton Muraviev
ab8deae516
Handle the missing second argument to isunit() with an appropriate error message.
2014-12-07 12:45:50 +00:00
Anton Muraviev
56b739c153
Fix isunit() not able to check if dimension is unitless, i.e. unit is empty.
2014-12-04 22:47:22 +00:00
Luke Page
06dd4ace45
Fix the data uri function - was not using the current directory and not working if no mime type is given
2014-11-28 17:40:12 +00:00
Luke Page
4b1a200686
IE8/IE9 support
2014-11-02 13:50:04 +00:00
Luke Page
9d535c0470
Whitespace - undo unusual new() syntax
2014-10-19 16:57:22 +01:00
Luke Page
845ec72131
improve error reporting
2014-10-19 16:48:04 +01:00