Josh Schmidt
815741acfb
Check value of elements before getting args
...
When parsing, mixin.call() doesn't need to look for mixin.args if there weren't any elements
2014-01-22 20:05:44 -07:00
Luke Page
e18b274f62
Merge branch 'cache-buster' of https://github.com/bcluca/less.js
...
Conflicts:
test/index.js
2014-01-22 21:19:57 +00:00
Luke Page
b63736061d
Merge pull request #1823 from seven-phases-max/mixin-guard-default-2
...
Improved multiple `default()` guards conflict detection.
2014-01-22 11:56:45 -08:00
Luke Page
6e140807a8
Merge pull request #1822 from pateketrueke/static-require-calls
...
Normalize require-calls for Browserify
2014-01-22 11:50:50 -08:00
Alvaro Cabrera
ae47db4dab
Normalize require-calls for Browserify
2014-01-22 12:13:29 -06:00
Doug Haber
9b3513b801
Split rhino and rhino version of lessc. This lets us have cleaner tests (since we don't need to include the test code in the rhino source). Also
...
sets the stage for sharing lessc code between lessc and rhino less (issue #14 ) and provides a hook so lesscss-java can have custom js.
2014-01-21 21:48:37 -05:00
seven-phases-max
5146c1b1ee
improved multiple default() guards conflict detection, updated tests.
2014-01-21 19:11:08 +04:00
Luke Page
8580ff8c10
Merge pull request #1814 from seven-phases-max/numeric-precision
...
Rounding of output numbers.
2014-01-21 04:27:59 -08:00
Luke Page
9a0f813167
Merge pull request #1806 from SomMeri/rhino
...
rhino version not up to date (#1405 )
2014-01-21 04:17:50 -08:00
Luke Page
f92c169528
Merge pull request #1815 from oyejorge/patch-5
...
Correct arguments for tree.Element
2014-01-21 04:11:20 -08:00
Josh Schmidt
ec462237ba
Update ruleset.js
...
Correct arguments for tree.Element
2014-01-18 21:07:05 -07:00
Luca Bernardo Ciddio
d6244cb3f9
Renamed --cache-buster option to --url-args
2014-01-18 19:26:27 -08:00
seven-phases-max
52ba472bb7
Added rounding of output numbers (hardcoded to max. 8 digits in this commit).
2014-01-18 09:58:14 +04:00
Luca Bernardo Ciddio
958716160f
Cache buster for url tokens
2014-01-16 21:12:56 -08:00
deviprsd21
8ccadb8593
Removal of zero, unitonly changed to obtain
2014-01-15 18:28:34 +05:30
deviprsd21
7bbf7cef97
max/min Bugfix
...
max(0, 1cm)// 0 ... 0 assumed unit "m". on comparison 0.01m was less than 0
2014-01-15 17:46:17 +05:30
meri
d203ef3743
Fixed grunt call on windows and fixed typo.
2014-01-15 12:55:06 +01:00
Mária Jurčovičová
cf24d4840d
Merge pull request #16 from dhaber/rhino-jshint
...
Don't lint source-map since its owned by another project
2014-01-15 01:05:39 -08:00
Mária Jurčovičová
fd3605ad99
Merge pull request #17 from dhaber/rhino-empty-test
...
Fix empty test
2014-01-15 01:05:12 -08:00
Doug Haber
3c507118f2
fix empty test
2014-01-14 18:52:00 -05:00
Doug Haber
0d06fd1932
Don't build lint source-map since its owned by another project
2014-01-14 18:32:08 -05:00
meri
e2c1c13cc0
Solving lint errors in rhino.js. The rest is still open #15
2014-01-14 23:21:25 +01:00
meri
85197ee577
Merge branch 'master' of https://github.com/less/less.js into rhino
...
Conflicts:
.gitattributes
README.md
test/index.js
2014-01-14 22:48:46 +01:00
Luke Page
669701fcc4
Merge pull request #1803 from wareczek/patch-1
...
ability to insert uppercase color names
2014-01-14 13:42:38 -08:00
Luke Page
0bc82a46e7
Merge pull request #1804 from cettox/master
...
small compatibility fix for prototype.js
2014-01-14 13:36:19 -08:00
Mária Jurčovičová
9dde8527e9
Merge pull request #13 from dhaber/rhino-source-map-tests
...
Add Support-Map Tests for Rhino
2014-01-14 12:41:07 -08:00
Kemal Dag
94ef7cba5e
small compatibility fix for prototype.js
2014-01-14 18:38:17 +02:00
Marek Duława
13635e7462
ability to insert uppercase color names
2014-01-14 15:19:51 +01:00
Doug Haber
de4e888211
Add Support Map Tests
...
This patch adds Support Map Tests to the rhino test suite. It makes the
following changes:
1. Fix typo in the Gruntfile.js for the sourcemap-test
2. Update Gradle build to always build the less-rhino-<version>.js
before running the tests
3. Add a new testRhinoSourceMap and add it to the test list
4. Add a SourceMapRhinoTest that bootstraps SourceMap tests and then
validates them after they run
5. Add hooks in RhinoTest to support custom bootstraping and validation
6. Add compiled version of source-map (version 0.1.31) because Rhino
can't dynamically pull in dependencies
7. Add source-map to the Rhino build with a Header/Footer that wraps
source-map as a less-friendly dependency
8. Update lib/less/rhino.js to properly handle (some) source-map options
and add a new one (--source-map-output-map-file) that will output the
source-map to a separate file (so we can validate our Rhino tests)
9. Remove unused callback in less-test.js
2014-01-13 23:39:52 -05:00
deviprsd21
82ab17c082
Consistency fixes
2014-01-13 18:20:43 +05:30
deviprsd21
e6b94f9c45
Pixel conversion added.
2014-01-13 16:43:46 +05:30
Mária Jurčovičová
2ea251b617
Merge pull request #12 from dhaber/rhino-mactest
...
Fix for some tests that were failing on my Mac
2014-01-12 14:03:45 -08:00
Mária Jurčovičová
8bbc221e82
Merge pull request #11 from dhaber/rhino-issue3
...
Fix for issue #3 : Tests should automatically take latest rhino file
2014-01-12 14:02:15 -08:00
Max Mikhailov
ab486f7e1f
Updated current version in readme.md
2014-01-12 11:23:12 -08:00
Luke Page
396112fb66
1.6.1 release
v1.6.1
2014-01-12 11:58:08 +00:00
Luke Page
2e0acb8e32
update changelog for 1.6.1
2014-01-12 11:53:40 +00:00
Luke Page
86476d58cb
allow empty files
2014-01-12 11:51:02 +00:00
deviprsd21
7fc12014f2
Error handlers for min/max functions
2014-01-12 10:47:55 +05:30
Luke Page
35d8473c77
fix sourcemap test
2014-01-11 18:57:02 +00:00
Luke Page
3755fb28b0
Merge pull request #1780 from brenmar/master
...
#1778 standardised using starting index, to fix incorrectly mapped sourcemaps
2014-01-11 10:43:16 -08:00
Luke Page
bdfc63103f
update changelog
2014-01-11 18:38:50 +00:00
Luke Page
0f8f995983
Fix css guard error. fixes #1796
2014-01-11 18:35:11 +00:00
Luke Page
92c3ac2c88
support shadow dom selectors. fixes #1801
2014-01-11 17:43:19 +00:00
Doug Haber
fb1f664388
Clean up some text changes
2014-01-11 07:51:43 -05:00
Doug Haber
1b83d882b4
Fix some tests that were failing on my Mac
2014-01-11 07:51:38 -05:00
deviprsd21
b77b02091a
Improved min/max function, 2 new Built in function
...
max(0, 1em, 2, 4px) //returns max(2, 4px) on the basis of first enter basis, as 2 gets em unit. Now em and px are incompatible till latest version of LESS.
2014-01-11 17:53:57 +05:30
deviprsd21
0f2926b4d8
Update functions.js
...
max(0, 1em, 2, 4px) //returns max(2, 4px) on the basis of first enter basis, as 2 gets em unit. Now em and px are incompatible till latest version of LESS.
2014-01-11 17:52:25 +05:30
deviprsd21
bf2a49a12e
Improved min/max function, 2 new Built in function
...
max(0, 1em, 2, 4px) //returns 4px on the basis of first enter basis. Previous calculation would result in max(2, 1em, 4px). Here, 2 and 1em is compared, 2 is returned. then 2 and 4px is compared. Resulting in 4px. max(0, 1em, 1, 4px) //max(1em, 4px)
2014-01-11 17:43:24 +05:30
Doug Haber
cfb04d1483
Update gradle build to:
...
1. Build the latest version of the rhino less version
2. Use the latest version to test against
Also update Grunt build to have a build rhino task
2014-01-10 16:19:04 -05:00
Luke Page
6dfb00751c
Fix for in without hasOwnProperty
2014-01-10 20:09:36 +00:00