Luke Page
|
dd5bb4dd5a
|
send important on to sub mixins. Fixes #1256
|
2013-09-18 17:49:33 +01:00 |
|
Luke Page
|
58e3269c74
|
do not match args with a variadic mixin that does not have enough arguments. Fixes #1527
|
2013-09-18 17:25:12 +01:00 |
|
Luke Page
|
0b0519fecb
|
use the same environment frames for guards as for evaluating parameters
|
2013-09-14 13:34:09 +01:00 |
|
Luke Page
|
4c552349e5
|
Fix #1536 - pattern used in bootstrap is causing a recursion error
|
2013-09-09 22:11:29 +01:00 |
|
Luke Page
|
1b3acd403a
|
fix media query bug. Fixes #1502
|
2013-09-01 17:56:59 +01:00 |
|
Luke Page
|
fc35190d38
|
unused variable cleanup
|
2013-07-20 22:44:13 +01:00 |
|
Luke Page
|
63109417c7
|
small fixes to sourcemaps
|
2013-07-19 19:26:24 +01:00 |
|
Luke Page
|
1cc63d11b4
|
convert the rest of the nodes to use genCSS
|
2013-07-18 12:47:11 +01:00 |
|
Daniel Stockman
|
8eeaf87a79
|
JSHint lib/* and test runners.
|
2013-07-08 19:09:03 -07:00 |
|
agatronic
|
446e164444
|
rename mute to reference
|
2013-07-05 06:51:04 +01:00 |
|
Luke Page
|
f4902f809c
|
rename import silent to import mute. Fixes #1210
|
2013-07-05 06:51:02 +01:00 |
|
Luke Page
|
dce452421f
|
Fix the rest of import silent
|
2013-07-05 06:51:01 +01:00 |
|
Luke Page
|
47b7bda64b
|
todo to fix last part of import silent
|
2013-07-05 06:50:58 +01:00 |
|
Luke Page
|
5d54af2039
|
import interpolation finished. refactored the import phase to occur only within the import visitor - so that the import eval env can be passed between imports.
|
2013-03-01 13:40:54 +00:00 |
|
Luke Page
|
c56db94b7d
|
Add modified (self altering) visitor pattern and class
|
2013-03-01 13:40:00 +00:00 |
|
Luke Page
|
241c830e10
|
Support reading other arguments as default parameters. Fixes #43
|
2013-02-17 22:25:38 +00:00 |
|
Luke Page
|
988d378922
|
add evalEnv class and strictMaths option
|
2013-01-25 20:05:37 +00:00 |
|
Spocke
|
432f89aaf4
|
Fixed issue where the compress value wouldn't get passed around correctly.
|
2013-01-05 16:36:17 +00:00 |
|
Luke Page
|
650073e4f1
|
Scope fix - default parameters are evaluated in the mixin scope, not the
caller scope. Fixes #973.
|
2012-11-29 19:48:30 +00:00 |
|
Luke Page
|
60b2aa9a77
|
Fix multiple scoping issues with variables. Fixes #878
|
2012-11-29 18:40:45 +00:00 |
|
Luke Page
|
5dc7ff50f0
|
Fix argument matching. Fixes #1036
|
2012-11-27 13:14:04 +00:00 |
|
Luke Page
|
e5fd5abc60
|
Do not require default mixin. Fixes #926
|
2012-11-27 09:28:19 +00:00 |
|
Luke Page
|
8930ad3a44
|
Re-allow recursive mixins, just not recursive classes. Fixes #1012
|
2012-10-31 22:16:49 +00:00 |
|
Luke Page
|
1175ddc01c
|
Fixi important on mixin calls when mixin has rulesets or comments
|
2012-10-25 11:52:07 +01:00 |
|
Luke Page
|
f3a6761dc5
|
Look through all scopes for a mixin before giving up. Fixes #413 again
|
2012-10-24 20:41:32 +01:00 |
|
Luke Page
|
38d2c57016
|
Make less.js ignore nodes in its own path so infinite recursion does not happen. Fixes #413
|
2012-10-24 20:16:10 +01:00 |
|
Luke Page
|
e1485dd706
|
Fix #990 - error message incorrect
|
2012-10-21 16:16:51 +01:00 |
|
Luke Page
|
1990d8336f
|
Fix problem with name arguments with arguments variable and if you've specified all the arguments
|
2012-10-21 15:20:23 +01:00 |
|
comfuture
|
94f70f7121
|
fixed issue #795
|
2012-05-06 11:13:30 +09:00 |
|
James Foster
|
1857b7c5aa
|
Implement named parameters
|
2012-04-30 03:30:02 +01:00 |
|
Alexis Sellier
|
3e5a336f88
|
add ability to bind varargs
|
2012-02-28 19:23:39 +01:00 |
|
Alexis Sellier
|
229856d514
|
fix error message on wrong-arity call
|
2012-02-28 18:06:22 +01:00 |
|
Alexis Sellier
|
ac226c6b7f
|
Variadic argument support
.mixin (...) {} // matches any number of arguments
.mixin () {} // matches exactly 0 arguments
.mixin (@a: 1) {} // matches 0-1 arguments
|
2012-02-28 17:42:29 +01:00 |
|
Alexis Sellier
|
aefd310514
|
fix Runtime error reports from imported files
|
2012-01-11 00:55:14 +01:00 |
|
Alexis Sellier
|
aab66a4d10
|
support '!important' after mixin calls
ex: `.mixin(4) !important;`
|
2012-01-05 21:53:03 +01:00 |
|
Alexis Sellier
|
626d7f1523
|
additional support for mixin guards
|
2011-12-24 13:32:13 +01:00 |
|
Alexis Sellier
|
d1cb4aab97
|
improvements to error messages
|
2011-12-15 23:42:22 +01:00 |
|
Alexis Sellier
|
321920a50d
|
mixin guards
Allows functional-style guard expressions:
.mixin (@a) ? @a > 0 {...}
|
2011-12-15 23:38:53 +01:00 |
|
Alexis Sellier
|
c290c48b3f
|
node 0.5.x compatibility
|
2011-11-12 13:13:36 +01:00 |
|
Alexis Sellier
|
59d6408ae4
|
don't re-evaluate arguments on each mixin.call
|
2011-05-24 12:08:50 -04:00 |
|
Alexis Sellier
|
9939ba5076
|
better JavaScript evaluation
- support for returning Array values
- Expressions/Values are passed as arrays to JavaScript
- fixed some edge cases
|
2011-05-17 20:47:42 -04:00 |
|
Alexis Sellier
|
02bb402c4d
|
change @arguments behaviour to be more like js
|
2011-05-11 12:33:54 -04:00 |
|
cloudhead
|
e199ac8c8e
|
(new) JavaScript-style 'arguments' variable
|
2011-01-31 14:10:57 +00:00 |
|
Alexis Sellier
|
0bd18489bc
|
tweak mixin pattern matching to be more useful
|
2011-01-20 20:02:15 -05:00 |
|
cloudhead
|
e36080a3ff
|
preliminary support for evaluating JavaScript code inside LESS
|
2010-07-08 19:04:36 +02:00 |
|
cloudhead
|
66fa17b274
|
small refactor in mixin.match
|
2010-07-08 12:45:43 +02:00 |
|
cloudhead
|
189b1bf089
|
big refactoring of ruleset.js, move eval code to eval()
|
2010-07-07 13:53:09 +02:00 |
|
cloudhead
|
22f25e19f2
|
remove evalRules, use eval
|
2010-07-07 12:19:15 +02:00 |
|
cloudhead
|
e985bad5f4
|
fix error messages with no index
|
2010-07-07 11:58:26 +02:00 |
|
cloudhead
|
04d2d3ab68
|
make mixins behave like closures
|
2010-07-06 16:48:05 +02:00 |
|