Pajama.js - because HTML has no place in your Javascript app
11–18 of 18 posts
Re: Pajama.js - because HTML has no place in your Javascript app
#12Re: Pajama.js - because HTML has no place in your Javascript app
#13But at some point underneath all the abstraction, isn't that exactly what this has to do to even work?
Re: Pajama.js - because HTML has no place in your Javascript app
#14Re: Pajama.js - because HTML has no place in your Javascript app
#15We had a problem, we hid it under a layer of abstraction, now we have a hidden problem.
Re: Pajama.js - because HTML has no place in your Javascript app
#16plucking 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?
Re: Pajama.js - because HTML has no place in your Javascript app
#17plucking 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.
Well if i'm wrong, i'm wrong. I should probably study it some then.
Re: Pajama.js - because HTML has no place in your Javascript app
#18Earlier quoted context omitted.
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.