Advertisement
Guest User

Untitled

a guest
Apr 28th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Sockbase.prototype.onBlogPost = function(io, socket, msg){
  2. appbaseRef.index({
  3. type: 'pendingpost',
  4. body: msg
  5. }).on('data', function(response){
  6. console.log(response);
  7. }).on('error', function(error){
  8. console.log(error);
  9. });
  10. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement