- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/lines-and-columns/README.md
r59329aa re29cc2e 14 14 15 15 ```js 16 import LinesAndColumns from 'lines-and-columns';16 import { LinesAndColumns } from 'lines-and-columns' 17 17 18 18 const lines = new LinesAndColumns( 19 `table {19 `table { 20 20 border: 0 21 }`); 21 }` 22 ) 22 23 23 lines.locationForIndex(9); // { line: 1, column: 1 } 24 lines.indexForLocation({ line: 1, column: 2 }); // 10 24 lines.locationForIndex(9) 25 // { line: 1, column: 1 } 26 27 lines.indexForLocation({ line: 1, column: 2 }) 28 // 10 25 29 ``` 26 30
Note:
See TracChangeset
for help on using the changeset viewer.