Skip to content

Commit

Permalink
Merge 3d12a39 into 65347d1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed Jul 12, 2020
2 parents 65347d1 + 3d12a39 commit 89eafb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ console.log(renderer.render(123)); // cxxiii
```

```output
cxxiii
'cxxiii'
```

The `@counter-system` ones are created by their `system` name and accept an
Expand All @@ -78,7 +78,7 @@ console.log(renderer.render(123)); // XXXXZ
```

```output
cxxiii
'XXXXZ'
```

The name (system) can also be passed as a separate property instead of the name
Expand All @@ -94,7 +94,7 @@ console.log(renderer.render(123)); // XXXXZ
```

```output
XXXXZ
'XXXXZ'
```

They also support a `fallback` option to be used when the value is out of range.
Expand All @@ -111,8 +111,8 @@ console.log(renderer.render(4)); // •
```

```output
Z
'Z'
'•'
```

The `fallback` option can also be passed as another renderer instance, or "lazily" as a function that returns either a `list-style-type` name or a renderer.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"dependencies": {},
"devDependencies": {
"counteraction": "file:./",
"cldr": "^5.5.3",
"coveralls": "^3.0.7",
"eslint": "^7.0.0",
Expand All @@ -18,7 +19,7 @@
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"evaldown": "^1.0.0",
"evaldown": "^1.0.1",
"mocha": "^8.0.1",
"nyc": "^15.0.0",
"prettier": "~2.0.1",
Expand Down

0 comments on commit 89eafb0

Please sign in to comment.