Advertisement
Guest User

Untitled

a guest
Nov 19th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var when=require("promised-io/promise");
  2. when(AM.addcontact(pair,request.session.user,request.body.contact.length,function(e,o){
  3.                         if(!o)
  4.                         {
  5.                              response.send('something went wrong'+e);
  6.            
  7.                         }
  8.                         else
  9.                         {
  10.                            //response.send(o);
  11.                         }
  12.        
  13.                     }),addit(o),rejectit);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement