Luke Page
8a135bd89b
Merge pull request #2643 from SomMeri/shorthand-color-interpolated-into-selector-1481
...
Keep shorthand color form the same way as named colors are kept.
2015-09-09 13:03:03 +01:00
Luke Page
3ef676ad41
Merge pull request #2677 from betaorbust/master
...
Reference inline comments.
2015-09-09 12:58:46 +01:00
Luke Page
430cf3a45e
Merge pull request #2685 from demohi/patch-1
...
Update travis Node.js version & remove io.js
2015-09-09 12:54:57 +01:00
mdemo
7ea9ed2f70
Update travis Node.js version & remove io.js
2015-09-09 10:01:06 +08: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
ff5e5a040b
Merge pull request #2637 from SomMeri/empty-source-map-to-empty-file-2430
...
Undefined source map should result in an empty map file.
2015-07-19 21:16:26 +01:00
jurcovicovam
30fe1cb9e2
Keep shorthand color form the same way as named colors are kept. #2481
2015-07-19 14:54:41 +02:00
jurcovicovam
ce4a7bc0e9
Undefined source map should result in an empty map file. #2430
2015-07-17 09:57:55 +02:00
seven-phases-max
3178103b7f
merge updated expand-operator with master
...
plus reworked tests
2015-06-25 23:53:32 +04:00
seven-phases-max
8204eca8a0
Merge branch 'philschatz_patch-1' into expand-operator
2015-06-25 17:53:55 +04:00
Luke Page
8114a32181
Merge pull request #2607 from kkirsche/patch-1
...
Remove moot `version` property from bower.json
2015-06-11 06:29:31 +01:00
Kevin Kirsche
b1c5641acb
Remove moot version property from bower.json
...
Per bower/bower.json-spec@a325da3
2015-06-10 18:27:07 -04:00
Luke Page
59c012c16a
2.5.1 release
v2.5.1
2015-05-21 12:26:46 +01:00
Luke Page
0671a120b8
Update CHANGELOG.md
2015-05-21 12:21:08 +01:00
Luke Page
69a0e0d6cc
Merge pull request #2591 from pdehaan/patch-1
...
Update license attribute
2015-05-21 12:17:28 +01:00
Peter deHaan
bdcec8bff4
Update license attribute
...
specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-20 23:43:45 -07:00
Luke Page
fbbd313bcf
Merge pull request #2575 from chipx86/fix-sync-loading
...
Fix synchronously loading/applying stylesheets on page load.
2015-04-29 08:20:33 +01:00
Christian Hammond
f66757554f
Fix synchronously loading/applying stylesheets on page load.
...
Starting in 2.0, stylesheet loading became asynchronous, through the
usage of promises for both calculating the list of stylesheets and the
initial call to less.refresh(). This resulted in visual issues while
loading on some browsers (noticed in Firefox and Safari), along with
breakages of any custom JavaScript that depended on the computed style
of elements on the page, due to race conditions.
This change preserves the promise for initial page loading, in order to
retain support for less.pageLoadFinished, but immediately executes the
stylesheet scan (through a new less.registerStylesheetsImmediately
function) and the less.refresh() call. That resulting behavior matches
versions of less prior to 2.0.
This unveiled a regression in registering functions, both in the browser
and in unit tests, that was not previously noticed due to the
asynchronous load. Registered functions would have a 'less' variable set
to the less options, and not less itself, when not going through the
asynchronous loading mode. This meant that both unit tests and
real-world function registration would break when the sync page loading
was fixed. Overriding window.less to point to the actual less module and
not less.options during bootstrap fixes this.
This fixes #2317 .
2015-04-28 02:08:39 -07:00
Luke Page
5ad6fb3fc6
Merge pull request #2568 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2015-04-27 21:34:54 +01:00
Luke Page
48ad5a37f1
Merge pull request #2559 from seven-phases-max/master
...
Fix for #2558
2015-04-27 13:43:13 +01:00
Luke Page
2c5aa398c2
Merge pull request #2574 from seven-phases-max/fix-ruleset-find
...
Fix `Ruleset.prototype.find` failing for certain frames
2015-04-27 13:42:06 +01:00
seven-phases-max
47ce670c38
fix Ruleset.prototype.find failing in certain (programmatic usage) cases
2015-04-26 19:55:00 +04:00
seven-phases-max
28006cf721
fix Ruleset.prototype.find failing in certain (programmatic usage) cases
2015-04-26 19:50:47 +04:00
The Gitter Badger
ec230fcde9
Added Gitter badge
2015-04-23 17:33:35 +00:00
seven-phases-max
7203286706
fix #2558
2015-04-19 19:49:27 +04:00
Luke Page
e40c2f56af
Merge pull request #2550 from chharvey/patch-1
...
Update CHANGELOG.md
2015-04-12 07:48:41 +01:00
Chris Harvey
6c2232245f
Update CHANGELOG.md
...
fix some grammatical errors
2015-04-11 12:42:57 -04:00
Luke Page
9b7021a309
2.5.0 release
v2.5.0
2015-04-03 09:53:16 +01:00
Luke Page
dbe2eaa5f7
Tidy up path splitting
2015-04-03 08:33:21 +01:00
Luke Page
7c6da7ae86
Merge https://github.com/ifunk/less.js
...
Conflicts:
lib/less-rhino/index.js
2015-04-03 08:32:51 +01:00
Luke Page
7ed9574d8a
Merge pull request #2530 from seven-phases-max/proper-non-primitive-value-replacement-for-format-and-replace
...
Proper non-primitive value replacement for `%` and `replace`
2015-04-03 08:04:03 +01:00
Luke Page
2b42605337
Merge pull request #2526 from bassjobsen/image-size
...
Image size
2015-04-02 06:36:12 +01:00
Bass Jobsen
ea43e7d6d0
Merge remote-tracking branch 'upstream/master' into image-size
2015-04-01 23:45:14 +02:00
Luke Page
fc93876dcc
Merge pull request #2533 from seven-phases-max/fix-formatting-for-jscs
...
Fix formatting to meet jscs settings
2015-04-01 19:43:51 +01:00
seven-phases-max
1950248a87
fix formatting to meet jscs settings
2015-04-01 21:26:14 +04:00
Luke Page
1e67f03172
Merge pull request #2525 from whitecolor/patch-1
...
Add browser field
2015-04-01 13:06:11 +01:00
Luke Page
c1bccbec32
Do not use the latest jscs as it breaks
...
since it does extra checking on indentation that doesn't pass.
2015-04-01 13:01:28 +01:00
Luke Page
86fa4f6f9d
Merge pull request #2522 from rjgotten/fix-plugin-scoping
...
Fix `@plugin` scoping rules
2015-04-01 06:46:40 +01:00
seven-phases-max
13ef5b7422
proper non-primitive value replacement for % and replace functions
2015-03-31 19:35:22 +04:00
Luke Page
ecd3f6659d
Merge pull request #2527 from seven-phases-max/fix-grunt-shell-benchmark
...
Fix grunt shell:benchmark command
2015-03-30 16:53:19 +01:00
seven-phases-max
ff55171dc8
fix grunt shell:benchmark command
2015-03-30 04:38:36 +04:00
Bass Jobsen
16a0285b7b
fixes for issue #2482
2015-03-29 18:16:53 +02:00
Bass Jobsen
f0f271919b
fixes for issue #2482
2015-03-29 18:16:01 +02:00
Alex
7cc986e361
Add browser field
...
to support browserfy and other loaders that use `browser` field for resolving browser version
https://github.com/substack/node-browserify#packagejson
2015-03-28 14:50:51 +05:00
Luke Page
e411f548c1
Merge pull request #2520 from less/bugfix/2440
...
Fix 2440
2015-03-26 16:25:56 +00:00
rjgotten
aa66271dd3
Deletes an accidentally committed dev file
2015-03-23 22:50:50 +01:00
rjgotten
56687b9d02
Make functionRegistry in mxin definition inherit from mixinEnv
...
functionRegistry was mistakingly inheriting from the top frame of the
caller context, which was incorrect. It should inherit from definition
scope.
2015-03-23 11:01:51 +01:00
rjgotten
0a6e2f814d
merge changes from upstream
2015-03-23 10:40:01 +01:00
Luke Page
17aafae556
Add test for #2440
2015-03-21 22:08:50 +00:00
Luke Page
e0dff5308c
Bubble import only above other non comment, non charset rules. Fixes #2440
2015-03-21 22:06:01 +00:00