On Thursday, 17 June 2021 at 18:54:41 UTC, WebFreak001 wrote:
On Thursday, 17 June 2021 at 16:26:57 UTC, JG wrote:
[...]
Thanks, this works. I would have thought this would be a
common enough use case to have support in diet. Anyone else
wanted this?
Opened an issue here:
https://github.co
On 6/17/21 4:22 PM, kdevel wrote:
On Thursday, 17 June 2021 at 19:14:28 UTC, Steven Schveighoffer wrote:
On 6/17/21 12:26 PM, JG wrote:
However, what I *have* wanted is to have attribute values support
`Nullable!T` such that they are only included if the item is non-null.
See [here](https://g
On Thursday, 17 June 2021 at 19:14:28 UTC, Steven Schveighoffer
wrote:
On 6/17/21 12:26 PM, JG wrote:
However, what I *have* wanted is to have attribute values
support `Nullable!T` such that they are only included if the
item is non-null. See
[here](https://github.com/rejectedsoftware/diet-ng
On 6/17/21 12:26 PM, JG wrote:
Thanks, this works. I would have thought this would be a common enough
use case to have support in diet. Anyone else wanted this?
I haven't found a need for it, as I'm usually only dynamically
configuring attribute values, not attribute names. But my web-fu is
On Thursday, 17 June 2021 at 16:26:57 UTC, JG wrote:
[...]
Thanks, this works. I would have thought this would be a common
enough use case to have support in diet. Anyone else wanted
this?
Opened an issue here:
https://github.com/rejectedsoftware/diet-ng/issues/91
On Thursday, 17 June 2021 at 09:16:56 UTC, WebFreak001 wrote:
On Thursday, 17 June 2021 at 08:23:54 UTC, JG wrote:
Suppose I have an array of attributes and values v is there
any way to apply these attributes to a tag?
So that something like
tag(#{v[0]0]}=#{v[0][1]},...})
becomes
where v[
On Thursday, 17 June 2021 at 08:23:54 UTC, JG wrote:
Suppose I have an array of attributes and values v is there any
way to apply these attributes to a tag?
So that something like
tag(#{v[0]0]}=#{v[0][1]},...})
becomes
where v[0][0]="attribute0" and v[0][1]="value0"?
I think there is not
Suppose I have an array of attributes and values v is there any
way to apply these attributes to a tag?
So that something like
tag(#{v[0]0]}=#{v[0][1]},...})
becomes
where v[0][0]="attribute0" and v[0][1]="value0"?