Skip to content

Commit 9490ff1

Browse files
committed
Merge pull request #3 from tanakaworld/gh-pages
Update sample
2 parents 9b3f078 + c4e1713 commit 9490ff1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Download from [here](https://github.com/TanakaYutaro/google-spreadsheets-parser/
4343
4. Get data
4444

4545
```javascript
46-
var gss = new GoogleSpreadsheetsParser(publishedUrl, true);
46+
var gss = new GoogleSpreadsheetsParser(publishedUrl, {sheetTitle: 'Sample', hasTitle: true});
4747

4848
console.log(gss.titles); // ["ID", "Name", "Age"]
4949
console.log(gss.contents); // [Array[3], Array[3], Array[3], Array[3], Array[3]]
@@ -54,3 +54,6 @@ Download from [here](https://github.com/TanakaYutaro/google-spreadsheets-parser/
5454

5555
* `.titles` : Table titles array in the frst row.
5656
* `.contents` : Table data 2d array in the second row later.
57+
58+
# Demo
59+
[Demo](http://tanakaworld.github.io/google-spreadsheets-parser/demo/)
File renamed without changes.

0 commit comments

Comments
 (0)