Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

My Joyent no.de, uses RequireJS adapter

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

My Joyent no.de, r.no.de. Uses the r.js RequireJS adapter that allows RequireJS to run in Node. The latest r.js will try to load a "main.js" file if no other argument is passed to it, which is useful for the no.de environment.

The no.de service assumes the server script is called server.js, so to use the RequireJS adapter on no.de:

  • Get r.js. Needs to be in a RequireJS release greater than 0.22.0.
  • mv r.js server.js
  • Create a main.js as a sibling to server.js.
  • Put your app logic in main.js

Then you are all set! This project is an example of that approach.

Something went wrong with that request. Please try again.