mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
New % function, to perform string interpolation
This commit is contained in:
@@ -364,7 +364,7 @@ less.Parser = function Parser(env) {
|
||||
call: function () {
|
||||
var name, args;
|
||||
|
||||
if (! (name = $(/([a-zA-Z0-9_-]+)\(/g))) return;
|
||||
if (! (name = $(/([a-zA-Z0-9_-]+|%)\(/g))) return;
|
||||
|
||||
if (name[1].toLowerCase() === 'alpha') { return $(this.alpha) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user