lib/delta/local-delta.js
function deleteNode(node, immediate, callback) {
  node.localActions = {delete: {
    remoteId: node.remoteId,
    actionInitialized: new Date(),
    immediate
  }};

  syncDb.update(node._id, node, callback);
}
function deleteNode(node, immediate, callback) {
  node.localActions = {delete: {
    remoteId: node.remoteId,
    actionInitialized: new Date(),
    immediate
  }};

  syncDb.update(node._id, node, callback);
}
function deleteNode ( node , immediate , callback ) { node . localActions = { delete : { remoteId : node . remoteId , actionInitialized : new Date ( ) , immediate } } ; syncDb . update ( node . _id , node , callback ) ; }
Sets the local action to delete for a given node

@param {Object} node - node from database
@param {Function} callback - callback function
@returns {void} - no return value
Sets the local action to delete for a given node