HOW TO USE MOOTOOLS IN NODEJS?

Mark M

Total Post:28

Points:196
Posted by  Mark M
 1121  View(s)
Ratings:
Rate this:

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

  1. Barbara Jones

    Post:13

    Points:91
    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:

    require("mootools");

    // 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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!