Matthew Phillips
de92480b8c
Check location.port for truthiness
...
According to the w3 spec for Window:
http://www.w3.org/TR/Window/#location
`location.port` might be null. This PR checks that it is truthy before checking for the port's length.
One place where location.port is null is within [jsdom](https://github.com/tmpvar/jsdom ), so if you run less within Node, within jsdom, it throws an exception in this code.
2013-11-07 10:59:25 -05:00
Luke Page
0213579de4
1.5.0 release
v1.5.0
2013-10-21 12:32:57 +01:00
Luke Page
9a7351d27f
fix spacing issue with extends and fix tests
2013-10-20 11:28:47 +01:00
Luke Page
145406b539
do not re-import the re-entry file. Fixes #1484
2013-10-17 18:04:56 +01:00
Luke Page
d8d936862d
Fix error message when putting guards on a single selector
2013-10-17 17:51:25 +01:00
Luke Page
7a978cd28f
make the inline option more obvious. fixes #1603
2013-10-17 17:50:48 +01:00
Luke Page
97bd40b84a
support nested selectors in extends. part fixes #1580
2013-10-15 22:32:20 +01:00
Luke Page
33210805cd
Fix duplicate selectors sometimes generated in extends. Fixes #1591 . Fixes #1581
2013-10-15 20:19:11 +01:00
Luke Page
969cee1e11
Fix bad json - extra ,
2013-10-15 18:14:08 +01:00
Luke Page
8b68ecd98e
Fix missing parameter to Quoted - Fixes #1562
2013-10-15 18:13:27 +01:00
Luke Page
70e5761d90
1.5.0 beta 4 release - last one I hope
2013-10-04 07:11:10 +01:00
Luke Page
dc367f61dc
Merge pull request #1570 from MSamman/Percent_As_Attribute
...
proposed solution to #1568 : percentage as attribute
2013-10-03 23:07:26 -07:00
Luke Page
1a184d5790
Update changelog
2013-10-04 07:04:37 +01:00
Luke Page
b0d73ecf67
Merge branch 'master' of https://github.com/seven-phases-max/less.js
2013-10-04 07:01:27 +01:00
Luke Page
454e979d6c
Merge pull request #1572 from robocoder/patch-2
...
util.error is deprecated
2013-10-03 22:56:44 -07:00
Luke Page
f1f13e166e
Merge branch 'master' of https://github.com/cloudhead/less.js
2013-10-04 06:55:29 +01:00
Luke Page
b0477fca22
import multiple has a cascade effect. fixes #1497
2013-10-04 06:54:58 +01:00
seven-phases-max
278ca96d4e
Merge branch 'next'
2013-10-03 10:06:20 +04:00
seven-phases-max
fd1182bd69
Added length function ( #1542 ). Added scalar value handling for extract and length ( #1576 ).
2013-10-03 10:04:23 +04:00
Anthon Pang
fe0eaa8225
util.error is deprecated
2013-09-29 15:15:48 -04:00
Mohammad Samman
abe09a2851
proposed solution to #1568 : percentage as attribute
2013-09-28 17:51:04 -07:00
Luke Page
9d3a80ccfd
Merge pull request #1558 from danielfeelfine/master
...
Bower package: purge unnecessary files
2013-09-22 02:07:28 -07:00
Luke Page
5f20c4aeaa
support @host. Fixes #1560
2013-09-22 10:03:50 +01:00
Daniel Feel Fine
73b074364f
purge unnecessary files
2013-09-19 11:45:00 -03:00
Luke Page
15e8897802
if ie compatability is off, do not warn at all about file sizes over IE's
...
limit. Fixes #1414
2013-09-18 18:07:34 +01:00
Luke Page
c04bdc91a8
allow media features to be variables. Fixes #1330
2013-09-18 18:04:00 +01:00
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
0465398ab6
throw an error when the unit function is passed bad input. Fixes #1426
2013-09-18 05:54:38 +01:00
Luke Page
39b36d9cfc
Add alias for =< as <= fixes #1435
2013-09-18 05:42:21 +01:00
Luke Page
62751c917c
support inline css files in the sourcemaps
2013-09-17 19:37:00 +01:00
Luke Page
ee11dfb0b1
1.5.0 beta 3 release
v1.5.0-b3
2013-09-17 06:13:07 +01:00
Luke Page
40cd226f09
Merge pull request #1552 from picomancer/master
...
Replace deprecated sys.puts with console.log, resolve #1529
2013-09-16 21:49:38 -07:00
picomancer
a6cdb81b30
Replace deprecated sys.puts with console.log, resolve #1529
2013-09-16 18:32:29 -04:00
Luke Page
577751a174
improve output of page rules during compression - don't strip ; on rule before rulesets
2013-09-16 22:22:33 +01:00
Luke Page
a588677c26
add ! to keep comment on minification pattern. Fixes #1396
2013-09-16 20:03:22 +01:00
Luke Page
793bb89a2a
Test for invalid colors. Fixes #1458
2013-09-16 19:50:05 +01:00
Luke Page
0de5653ccc
small fixes to help allowing sourcemaps in browser mode
2013-09-16 19:30:16 +01:00
Luke Page
176260a035
allow sourcemaps to be inline, in the css
2013-09-14 19:33:08 +01:00
Luke Page
ebc6f5e1df
add passing test for urls containing escaped quotes
2013-09-14 14:04:19 +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
c41254f8fe
Merge branch 'master' of https://github.com/brenmar/less.js
2013-09-14 12:14:48 +01:00
Luke Page
862d7ed0ab
support transparent as a color but do not alter existing output of transparent and rgba()
2013-09-14 12:10:57 +01:00
Luke Page
de23ea6652
Fix the default for the sourcemap basepath
2013-09-14 11:26:19 +01:00
Luke Page
0a70eded8b
Merge pull request #1543 from andjo/sourcemap-options
...
Sourcemap basepath option
2013-09-14 03:22:40 -07:00
Luke Page
6eb992a775
Merge pull request #1412 from christopherobin/master
...
Allow imports from self-signed SSL hosts
2013-09-11 05:01:53 -07:00
Anders Johansson
bab31952ff
Normalize path for sourceMappingURL.
2013-09-11 13:48:50 +02:00
Anders Johansson
5ef2ff1707
Added --source-map-basepath option
2013-09-11 13:48:07 +02:00
Luke Page
c4a2ed6bce
Release 1.5.0 beta 2
v1.5.0-b2
2013-09-09 22:29:15 +01:00
Luke Page
193c6da1a9
remove alpha and beta as they can be determined from the version number
2013-09-09 22:27:36 +01:00