How to use mootools in nodejs?

Posted by  Mark M
 1985  View(s)
Rate this:

I’m want to use mootools on the serverside with nodejs?

  1. Re: How to use mootools in nodejs?

    The correct way now is via the npm, which is actually upto date.

    npm install mootools –save

    using it:


    // globals exported and types shimmed

    var foo = new Class({}); // etc

    things not exported: Element protos, Fx, Slick (and parser), Request (XHR), Swiff etc - if it touches the DOM, it won't be there.