can i use mootools on the serverside with nodejs?
If so, can someone give an example?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Out of date:
http://davidwalsh.name/mootools-nodejs
The correct way now is via the npm, which is actually upto date.
using it:
things not exported: Element protos, Fx, Slick (and parser), Request (XHR), Swiff etc – if it touches the DOM, it won’t be there.
Still, given the JS implementation under nodejs is pretty awesome anyway, shimming is not required (other than some sugar methods) and for Class, you can use
prime–npm install prime– see https://github.com/mootools/prime/example on RequireBin: http://requirebin.com/?gist=5957603