Compat: Provide empty LESS mixin .code()
Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it). With lessphp version 0.5.0 using undefined mixins now throws exceptions. Since we can't rely that users upgrade those modules first, we provide the mixin for compatibility here.
This commit is contained in:
parent
d13cade0f3
commit
bfec423eae
|
@ -32,3 +32,9 @@ table.action {
|
||||||
table.avp {
|
table.avp {
|
||||||
.name-value-table()
|
.name-value-table()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.code() {
|
||||||
|
// Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it)
|
||||||
|
// With lessphp version 0.5.0 using undefined mixins now throws exceptions
|
||||||
|
// Since we can't rely that users upgrade those modules first, we provide the mixin for compatibility here
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue