Comparing version 0.0.5 to 0.0.6
@@ -78,3 +78,7 @@ //meh, shit's ugly. | ||
{ | ||
if(type == undefined) return data.type; | ||
data.type = type; | ||
return this; | ||
}, | ||
@@ -138,2 +142,48 @@ | ||
*/ | ||
action: function(action) | ||
{ | ||
if(action == undefined) return data.action; | ||
data.action = action; | ||
return this; | ||
}, | ||
/** | ||
*/ | ||
all: function(data) | ||
{ | ||
this.result(data); | ||
return this.action('all'); | ||
}, | ||
/** | ||
*/ | ||
add: function(data) | ||
{ | ||
this.result(data); | ||
return this.action('add'); | ||
}, | ||
/** | ||
*/ | ||
remove: function(data) | ||
{ | ||
this.result(data); | ||
return this.action('remove'); | ||
}, | ||
/** | ||
*/ | ||
update: function(data) | ||
{ | ||
this.result(data); | ||
return this.action('update'); | ||
}, | ||
/** | ||
*/ | ||
@@ -140,0 +190,0 @@ result: function(result) |
{ | ||
"name": "vine", | ||
"description": "API builder", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "Craig Condon", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6554
192