Hey guys, So I've been lobbying for syntax along the following lines:
$(...).attr("foo", "{{width() > 40 ? 'bar' : 'baz'}}") or $(...).attr("target", "{{rel}}") which would basically expand to: $(...).attr("foo", function() { return this.width() > 40 ? "bar" : "baz"; }); and $(...).attr("target", function() { return this.rel; }); respectively. I personally feel like this would be a very nice feature, and recall people asking about it on the list, but I can't come up with any compelling use-cases on-the-fly. If you think this would be useful, and want it in 1.2, can you reply to this post with a specific use-case that you could see using in real-life? I really want to get this into 1.2, but it requires some proof of use ;) -- Yehuda Katz Lead Developer | Procore Technologies (ph) 718.877.1325