@stefanpenner @jaffathecake Why? They're just function calls. Editors should accept html('...') just as much as html(`...`).
@justinfagnani @stefanpenner @domenic @jaffathecake if the rule is "${} has to mean something special" then "no interpolation" qualifies
-
-
@justinfagnani@stefanpenner@domenic@jaffathecake but surely strip` foo bar${interp} baz ` is fine too -
@wycats@justinfagnani@stefanpenner@jaffathecake Why do that? It disallows strip(stringPassedAsAnArg), to save you two chars. -
@domenic@justinfagnani@stefanpenner@jaffathecake strip([arg]) works -
@domenic@justinfagnani@stefanpenner@jaffathecake also allows you to have a policy around whether to strip leading interpolated WS -
@domenic@justinfagnani@stefanpenner@jaffathecake or just literal whitespace.
End of conversation
New conversation -
-
-
@wycats@stefanpenner@domenic@jaffathecake if that's a constraint, why not use a regular string? The whole point of tagged literals is ${} -
@justinfagnani@stefanpenner@domenic@jaffathecake that's like saying: why use a getter if your setter is going to throw.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.