Guest User

Untitled

a guest
Jul 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. // Simple module
  2. function Simple() {
  3. var a = function () { return "Hello"; };
  4. this.hello = function (req, res, arg) {
  5. res.simpleSend(a());
  6. }
  7. this.talk = function (req, res, arg) {
  8. res.simpleSend("Hi, you said: "+arg.join(" "));
  9. }
  10. }
Add Comment
Please, Sign In to add comment