MCPcopy Create free account
hub / github.com/OptimalBits/node_acl / contract

Function contract

lib/contract.js:27–36  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

25noop.end = function(){};
26
27var contract = function(args){
28 if(contract.debug===true){
29 contract.fulfilled = false;
30 contract.args = _.toArray(args);
31 contract.checkedParams = [];
32 return contract;
33 }else{
34 return noop;
35 }
36};
37
38contract.params = function(){
39 var i, len;

Callers 6

AclFunction · 0.85
acl.jsFile · 0.85
mongodb-backend.jsFile · 0.85
redis-backend.jsFile · 0.85
backend.jsFile · 0.85
memory-backend.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected