Skip to content

Backward Incompatible Changes in less.js 1.4.0

SomMeri edited this page Mar 4, 2013 · 8 revisions

Deprecated - Unknown Future

Operations are interpreted only if enclosed in brackets

https://github.com/cloudhead/less.js/pull/1151

Some of related issues:

Import Statement

The import statement will be modified to act as @import-once https://github.com/cloudhead/less.js/pull/1010

Selector Escaping Deprecated

Selector escaping (~"h1 @{escapedVariable}") syntax is deprecated in less.js. They will use @{escapedVariable} placed directly in the selector.

Less.js references:

Variable as Pseudo class Parameter

Variable as pseudo class parameter is deprecated. Do not use :nth-child(@number), use selector interpolation :nth-child(@{number}) instead.

Less.js references:

Mixins Parameters

semicolon vs comma

Clone this wiki locally