Luke Page
f85f253586
merge from master
2014-08-14 17:27:16 +01:00
jurcovicovam
0f8bd724f8
Fragment handling in data-uri function 1959
...
The change removes #fragment from filePath before readig the file and adds
it back to the end of the generated uri.
2014-08-03 13:20:02 +02:00
Luke Page
383027886c
merge from master
2014-06-22 16:05:09 +01:00
seven-phases-max
91fdb3940f
don't round values returned by colour query functions.
2014-06-19 22:43:28 +04:00
Luke Page
fdd01f6b00
merge in latest 1.7.1 release
2014-06-10 19:30:21 +01:00
seven-phases-max
7a1c534e1b
Fixes e("").
2014-05-17 21:29:10 +04:00
Luke Page
501b7fa9a6
use graceful fs for file actions
2014-05-11 07:44:33 +01:00
Luke Page
6214b0f93c
add comment, make + clearer by changing to Number constructor
2014-05-06 06:27:55 +01:00
seven-phases-max
46c12ef664
reworked internal decimal rounding function.
2014-04-04 07:38:03 +04:00
Luke Page
aa3abeb716
fix trailing whitespace
2014-03-02 17:51:31 +00:00
Luke Page
7dfc0cf9b0
Merge branch 'whitespace' of github.com:XhmikosR/less.js into 2_0_0
...
Conflicts:
lib/less/functions.js
lib/less/index.js
lib/less/tree/anonymous.js
lib/less/tree/media.js
lib/less/tree/mixin.js
2014-03-02 12:36:49 +00:00
XhmikosR
7efbcd31cf
Trim trailing whitespace.
2014-03-02 14:06:26 +02:00
Luke Page
ee64392362
Merge branch 'master' into 2_0_0
...
Conflicts:
lib/less/import-visitor.js
lib/less/index.js
2014-02-27 21:12:49 +00:00
Luke Page
17a92e3f9b
Merge pull request #1890 from roelvanduijnhoven/feature/luma-definition
...
Let `luma` follow spec
2014-02-27 19:53:41 +00:00
Roel van Duijnhoven
e7389a0e7a
Introduce luminance function.
...
The behaviour of this function is identical to luma prior to LESS 1.7.
2014-02-27 08:45:24 +01:00
Luke Page
ddf1a45e5e
continue moving node functionality into the environment interface. function names need making consistent etc.
2014-02-24 21:51:38 +00:00
Luke Page
462b0274b2
move environment to the less namespace
2014-02-24 21:28:21 +00: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
e8c78d9d40
Merge branch 'master' into 2_0_0
...
Conflicts:
lib/less/browser.js
lib/less/parser.js
2014-02-23 17:38:39 +00:00
Luke Page
beb52739c0
allow % to be passed to the unit function. Fixes #1550 and fixes #1571
2014-02-23 17:09:33 +00:00
Luke Page
f0d0ac965d
Merge branch 'master' into 2_0_0
...
Conflicts:
package.json
2014-02-22 15:31:32 +00:00
seven-phases-max
768a5cbc84
minor % func improvement: preserve quote char and escaped flag, updated tests.
2014-02-18 18:56:46 +04:00
seven-phases-max
d3c0b204c7
minor replace func improvement: preserve quote char and escaped flag.
2014-02-18 15:22:14 +04:00
Luke Page
6117a33f50
Merge pull request #1855 from jakebellacera/adding_replace_function
...
Adding replace function
2014-02-17 22:32:27 +00:00
Luke Page
8ddcf66a67
Merge branch 'color-string-variable' of https://github.com/seven-phases-max/less.js into 2_0_0
2014-02-13 22:43:53 +00:00
Luke Page
9749d20c3d
Fix tests, fix a bug in comparing values
2014-02-11 21:09:06 +00:00
Luke Page
dff83f8d97
Merge branch 'master' of https://github.com/deviprsd21/less.js
2014-02-11 20:38:12 +00:00
Jake Bellacera
98f48bcb78
Replacing replace's options to flags
2014-02-06 23:41:18 -08:00
Jake Bellacera
089bf1b78a
Adding replace function
...
* renamed gsub function to replace
* reordered replace's function arguments to be much more readable
* added support for replacement (Regexp) options
2014-02-06 23:29:14 -08:00
Jake Bellacera
fda1774ddb
Merge upstream into adding_gsub_function
2014-02-06 17:29:42 -08:00
seven-phases-max
3322609de5
More consistent named colour variables.
2014-01-23 16:08:10 +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
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
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
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
deviprsd21
82ab17c082
Consistency fixes
2014-01-13 18:20:43 +05:30
deviprsd21
7fc12014f2
Error handlers for min/max functions
2014-01-12 10:47:55 +05:30
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
Luke Page
6dfb00751c
Fix for in without hasOwnProperty
2014-01-10 20:09:36 +00:00
deviprsd21
08e613709e
Improved min/max function, 2 new Built in function
2014-01-10 22:48:37 +05:30
meri
d438b9c52d
Close #1777
...
Data-uri function used single quote ' around generated url, but did not
encoded it in generated string. Switched it to " which is encoded.
2014-01-05 12:27:05 +01:00
Matthew Dean
e7f9b96e95
Fix for use of reserved word
...
Fixes issue #1772
2014-01-02 15:07:36 -08:00
Luke Page
4dd5a4b8e8
Merge pull request #1737 from seven-phases-max/clamped-rgba-output
...
Clamped rgba format color output
2014-01-01 05:05:59 -08:00
seven-phases-max
bdfff94920
* functions.js: (minor) reworking to clean-up initialization of "externally" defined functions (math, blending, default).
...
* `default` function "front-end" reworked for a bit higher-level control from its "back-end" code (e.g. tree.mixin.eval).
2013-12-22 18:27:51 +04:00
seven-phases-max
302143255d
clamped rgba format color output.
2013-12-22 10:02:49 +04:00
Luke Page
b2b1451902
Merge branch 'mutually-exclusive-guards' of https://github.com/seven-phases-max/less.js
2013-12-19 06:33:38 +00:00
Synchro
21e1e91b4b
Remove alpha from contrast calc, see #1724
2013-12-17 09:17:00 +01:00