Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

plucking elements out of the DOM using selectors isn't far away from using global variables in C.

But at some point underneath all the abstraction, isn't that exactly what this has to do to even work?



I don't think that's quite how it works. I took a quick look at the code and it doesn't contain any DOM selectors at all. It uses closures and getters and setters.


Huh?

Well if i'm wrong, i'm wrong. I should probably study it some then.


It's actually quite neat the way it all works. It's definitely worth taking a look at!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: