Closed GoogleCodeExporter closed 9 years ago
This is expected behaviour. The module methods return unbound elements. I wrote
it
this way deliberately. See my blog posts about base2.DOM. There has to be a way
to
retrieve elements without extending them. That's why we have optional binding.
Do you
think we should change this? I think it's a good feature.
Original comment by dean.edw...@gmail.com
on 21 Jul 2007 at 7:30
OK, I think I understand now. I didn't get the difference between module- and
DOM.bind-use. But now I re-read
it, you very clearly state "there is no augmentation of elements" in your
"other-ways" article.
To think about it, it's a good feature. Great thinking!
But I also think, the base2.$-function should return bound methods. I mean,
it's all about shortcuts.
I'll update the $-issue for this.
Original comment by doek...@gmail.com
on 21 Jul 2007 at 8:42
Original issue reported on code.google.com by
doek...@gmail.com
on 21 Jul 2007 at 6:31Attachments: