Skip to content

Commit

Permalink
fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmanuelromeraferrio committed May 28, 2018
1 parent e09cc6c commit 1a90422
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ Biblioteca que permite calcular cuanto vas a gastar por transporte en Argentina

```js
var CalcTransporte = require('calc-transporte');
var calcTransporte = new CalcTransporte();

var options = {
roundtrip: true,
benefit: false,
weekTimes: 4,
trips: [{ transport: "bus", price: 9.00, id: 0 },{ transport: "bus", price: 9.50, id: 0 }]
}
var options = {
roundtrip: true,
benefit: false,
weekTimes: 4,
trips: [{ transport: "bus", price: 9.00, id: 0 },{ transport: "bus", price: 9.50, id: 2 }]
}

var calcTransporte = new CalcTransporte();
CalcTransporte.calculate(options);
calcTransporte.calculate(options);

//Should be return
var result = {
Expand Down

0 comments on commit 1a90422

Please sign in to comment.