Skip to content

Commit

Permalink
updated readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LCluber committed Feb 7, 2019
1 parent 4573f35 commit b8fa078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Or download it **[here](http://csvxjs.lcluber.com/#download)**.
```javascript
import { Export, Convert } from '@lcluber/csvxjs';

// Convert an object to CSV file
// Convert an array to CSV file
let array = [
{
firstname:'Galileo',
Expand Down Expand Up @@ -53,7 +53,7 @@ exportButton.addEventListener('click', function() {
});

// Convert CSV data to HTML table
var data = '"Firstname";"Lastname";"Born";"Died"\r\n\
let data = '"Firstname";"Lastname";"Born";"Died"\r\n\
"Galileo";"Galilei";"1564";"1642"\r\n\
"Nikola";"Tesla";"1856";"1943"\r\n\
"Albert";"Einstein";"1879";"1955"';
Expand All @@ -71,7 +71,7 @@ document.getElementById("table").innerHTML = Convert.table(data,{separator: ';'}

```javascript

// Convert an object to CSV file
// Convert an array to CSV file
var array = [
{
firstname:'Galileo',
Expand Down

0 comments on commit b8fa078

Please sign in to comment.