chain-commander
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "chain-commander", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
{ | ||
"name": "chain-commander", | ||
"repo": "pocesar/js-chain-commander", | ||
"version": "0.1.2", | ||
"description": "Chain commander is a library based on Q library, to encapsulate business rules logic in form of javascript objects or JSON.", | ||
"version": "1.0.1", | ||
"description": "Chain commander is a library based on Bluebird library, to encapsulate business rules logic in form of javascript objects or JSON.", | ||
"keywords": [ | ||
@@ -17,3 +17,5 @@ "workflow", | ||
"promise", | ||
"conditional" | ||
"conditional", | ||
"scriptable", | ||
"json script" | ||
], | ||
@@ -20,0 +22,0 @@ "dependencies": { |
{ | ||
"name" : "chain-commander", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "./lib/chain-commander.js", | ||
@@ -5,0 +5,0 @@ "description":"Chain commander is a library based on Bluebird promise library, to encapsulate business rules logic in form of javascript objects or JSON.", |
@@ -189,3 +189,3 @@ [![Build Status](https://travis-ci.org/pocesar/js-chain-commander.png?branch=master)](https://travis-ci.org/pocesar/js-chain-commander) [![Coverage Status](https://coveralls.io/repos/pocesar/js-chain-commander/badge.png)](https://coveralls.io/r/pocesar/js-chain-commander) | ||
### `new ChainCommander(Array|String definitions, Object options)` | ||
#### `new ChainCommander(Array|String definitions, Object options)` | ||
@@ -198,3 +198,3 @@ Creates a new predefined chain that will execute your code when you call `execute` | ||
### `ChainCommander.prototype.execute(* initialValue, Object|Function context)` | ||
#### `ChainCommander.prototype.execute(* initialValue, Object|Function context)` | ||
@@ -216,3 +216,3 @@ Executes your definitions on the given context. Returns a promise. | ||
### `ChainCommander.all(* value, Array arr, Object|Function context)` | ||
#### `ChainCommander.all(* value, Array arr, Object|Function context)` | ||
@@ -219,0 +219,0 @@ Taking that you have an array with many Chain Commanders, that you want to execute in order, with the same context |
155333
1391