meri
ead3e29f7b
Fixing import by reference
...
- refactored how import reference works
- refactored to-css-visitor (this is side product, it was getting
complicated)
- fixes issues #1851 , #1896 , #1878 , #2716 , #1968 , #2162 (same as #1896 )
2015-11-20 15:10:53 +01:00
Jacques Favreau
74ef1ebacd
Reference inline comments.
...
As described in https://github.com/less/less.js/issues/2675 in-value comments are not preserved in referenced rules.
This patch adds reference marking to nodes below rules and expressions if markReferenced is available.
2015-08-31 11:42:40 -07:00
Luke Page
1494e25ef0
More style cop..
2015-01-30 18:28:02 +00:00
jurcovicovam
84b1863ddf
Support include-path inside data-uri. Related to #1634 and #2275
2015-01-13 15:09:41 +01: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
Luke Page
dedf0eee38
rename env to context to avoid confusion with environment
2014-10-05 18:50:34 +01:00
Luke Page
1a78cd5901
Remove unnecessary text from require statements
2014-09-08 00:57:50 +01:00
Luke Page
16746e9b1e
untangle the mess of dependencies and remove all circular dependencies. Remove un-necessary dependency injection.
2014-08-24 17:55:46 +01:00
Luke Page
08bd23dc2a
add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build)
2014-02-24 21:22:52 +00:00
Luke Page
3818727bf7
jshint: boss
2013-12-16 23:23:34 +00:00
fredburger
1a33bc69f8
Misc. perf optimizations. #1615
2013-10-30 08:09:17 +01:00
Luke Page
4db7c883cf
start refactoring toCSS so we will be able to collect sourcemap information at the same time
2013-07-11 22:08:38 +01:00
Luke Page
65602099cc
rename strictMaths to strictMath, set default to false, update strict options to take = on | off
2013-05-02 18:18:51 +01:00
Luke Page
c56db94b7d
Add modified (self altering) visitor pattern and class
2013-03-01 13:40:00 +00:00
Luke Page
c2880a9baa
double brackets does not leave brackets behind, to align with the most common scenarios
2013-02-02 23:57:31 +00:00
Luke Page
a490bc12bf
Fix comments test
2013-02-02 16:53:03 +00:00
Luke Page
988d378922
add evalEnv class and strictMaths option
2013-01-25 20:05:37 +00:00
Luke Page
531195c92d
take maths further
2013-01-24 22:27:17 +00: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
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
cloudhead
8422fdef6d
fix compound variable substitutions
2010-07-08 00:22:01 +02:00
cloudhead
a72966fa6a
removed constructor names
2010-06-19 01:51:26 -04:00
cloudhead
7768d41050
better cross-environment handling. stub out require() in browser.
2010-06-15 18:44:59 -04:00
cloudhead
f5f0919349
Refactored some of the evaluation mechanisms
...
- Don't call `eval` from `toCSS`
- Every node responds to `eval`
2010-05-07 23:21:16 -04:00
cloudhead
fe732e843c
refactor of module system. Things work properly now, and it's all much cleaner.
2010-03-13 03:34:48 -05:00
cloudhead
acd46cf7c6
refactoring of prototypes
2010-03-07 23:38:10 -05:00
cloudhead
23775bda9b
implemented dynamic mixins
2010-03-07 18:49:54 -05:00
cloudhead
f0f425de33
move node/ -> tree/
2010-03-05 19:19:14 -05:00