Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve keyword and anonymous input for replace function (fixes #2308). #2309

Merged
merged 1 commit into from
Nov 25, 2014
Merged

Improve keyword and anonymous input for replace function (fixes #2308). #2309

merged 1 commit into from
Nov 25, 2014

Conversation

seven-phases-max
Copy link
Member

See #2308. For a consistency the same fix is applied to the % function (I actually made it by less verbose Quoted constructor change instead of modifying functions themselves).
Fixes code like:

#quoted-functions-in-mixin {
  .mixin();
  .mixin() {
    replace-keyword: replace(baz-1, "1", "2");
    replace-anonymous: replace(e("qux-1"), "1", "2");
    format-keyword: %(hello);
    format-anonymous: %(e("hello %s"), "anonymous world");
  }
}

lukeapage added a commit that referenced this pull request Nov 25, 2014
…eplace

Improve keyword and anonymous input for replace function (fixes #2308).
@lukeapage lukeapage merged commit c2dfa6b into less:master Nov 25, 2014
@seven-phases-max seven-phases-max deleted the more-input-types-for-replace branch February 3, 2015 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants