Closed mattpardee closed 8 years ago
The data-pass-thru="true"
is a pattern I setup for clarity in the codebase, as most people were confused about just having an empty data-pass-thru
attribute. The intent here is not to check for equality, especially just string equality.
If you wanted to add to this, you should have it grab the data-pass-thru attribute and do some validation checking on the attribute itself, rather than enforcing a string convention where not everyone is beholden to, that would also make this a non-breaking change.
🔒
Miss youuuu <3
At least in the way we've been using it, we always set
data-pass-thru="true"
when we mean it. This seemed to indicate that ifdata-pass-thru
was set to "false" it would catch links clicked to be handled by the Rendr app - not the case. This change makes it explicit thatdata-pass-thru="true"
means Rendr won't be handling the link.@saponifi3d @jmerrifield