Conversation
|
I might be missing something here but omitting the Sorry for the late response. |
|
Interesting, I'd be interested to hear more on selector performance there. The use case is a rails plugin, jquery_helper, which auto generates this markup. It has to make special cases here instead of just falsing. But from this perspective, that's kind of what rails helpers are for :) On Friday, April 6, 2012 at 11:54 AM, John Bender wrote:
|
|
Being a rails dev myself I would agree :D. It's also something we need to consider in terms of semantics because native browser boolean attributes (disabled) are true with any value at all, though of course this is of course a data attr. Things to think about. I'm going to add the boolean attributes as false feature request but it's likely to be at the very bottom of the queue. Thanks for submitting and responding so promptly. |
|
This is totally off topic, but just while it's brought up-- I am no longer maintaining jquey_helper as a gem, but would like others to know about if if they have a use, and am still around to fix bugs. It handles a lot of markup generation (back and forward buttons, full with transitions), allows data attrs to be specified with their own hash, and even has a nav bar builder which keeps page transition directions straight. Cheers! Sent from my iPhone On Apr 6, 2012, at 1:44 PM, John Benderreply@reply.github.com wrote:
|
|
@toddparker could add a link to our resources page if you'd like. |
re: feature request #3263 (mine)
pages with data-prefetch=false will no longer be preloaded.
I also went through the source and looked for other instances of elements being selected by virtue of having an attribute, no matter the value. I don't think I know enough to say whether they too should be updated for consistency, so I'll just list them here:
Coincidentally, in childPages:
I couldn't figure out what ^= is does-- certainly not !=. Is this a bug?
Cheers