Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

Commit

Permalink
change exmaple title
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Dec 20, 2014
1 parent f01763b commit a0d20b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@


##### feel free to use colors in your content strings, column widths will be calculated correctly
![table image](https://cdn.rawgit.com/jamestalmage/cli-table2/d4266014c8858ae25bdba4f7c7c9d5682e0d544b/examples/screenshots/truncation-with-colors.png)
![table image](https://cdn.rawgit.com/jamestalmage/cli-table2/f01763b7716cee85e3b37721f459df2b3d7dbf08/examples/screenshots/truncation-with-colors.png)
```javascript
var table = new Table({colWidths:[5],style:{head:[],border:[]}});

Expand Down
4 changes: 2 additions & 2 deletions basic-usage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##### Basic Usage
![table image](https://cdn.rawgit.com/jamestalmage/cli-table2/d4266014c8858ae25bdba4f7c7c9d5682e0d544b/examples/screenshots/basic-usage-with-colors.png)
![table image](https://cdn.rawgit.com/jamestalmage/cli-table2/f01763b7716cee85e3b37721f459df2b3d7dbf08/examples/screenshots/basic-usage-with-colors.png)
```javascript
// By default, headers will be red, and borders will be grey
// Those defaults are overwritten in a lot of these examples and within the tests.
Expand Down Expand Up @@ -39,7 +39,7 @@
```


##### Create vertical tables by adding objects a single key that contains an array
##### Create vertical tables by adding objects a that specify key-value pairs
┌────┬──────────────────────┐
│v0.1│Testing something cool│
├────┼──────────────────────┤
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-usage-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = function(runTest) {
});


it('Create vertical tables by adding objects a single key that contains an array', function() {
it('Create vertical tables by adding objects a that specify key-value pairs', function() {
function makeTable(){
var table = new Table({ style: {'padding-left':0, 'padding-right':0, head:[], border:[]} });

Expand Down

0 comments on commit a0d20b1

Please sign in to comment.