Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- module.exports = function(Resource) {
- Resource.add = function(resourceName, price, flags, cb) {
- process.nextTick( function() {
- doStuffs(resourceName, price);
- doStuffsWithFirstFlag(flags[0]);
- doStuffsWithSecondFlag(flags[1]);
- });
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement