Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. 'use strict';
  2.  
  3. module.exports = function(Resource) {
  4. Resource.add = function(resourceName, price, flags, cb) {
  5. process.nextTick( function() {
  6. doStuffs(resourceName, price);
  7. doStuffsWithFirstFlag(flags[0]);
  8. doStuffsWithSecondFlag(flags[1]);
  9. });
  10. };
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement