Skip to content

Commit

Permalink
update-project
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunguyen committed Jul 12, 2017
1 parent 0f29fa3 commit a819e5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node_modules
**.DS_Store
.DS_Store?

.npmignore
.*.swp
._*
.git
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## How to use
In other to use dotstail:
1. The element you want to have a text ellipsis effect must have a CSS `line-height property` (must be a `em` unit).
1. The element you want to have a text elipsis effect must have a CSS `line-height property` (must be a `em` unit).
2. In your script file, set dotstail function for the element:

`dotstail.setDot ({
Expand All @@ -28,7 +28,7 @@ Call the function by `dotstail.setDot ();`
## Documentation
* `element`: is your element class/Id
* `letter`: is the number of letter you want to cut out at the end of the last line.
* `line`: is the number of line you want your element to have a `text ellipsis` effect.
* `line`: is the number of line you want your element to have a `text elipsis` effect.


## Template full feature list
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "dotstail",
"version": "1.0.1",
"description": "Dot",
"main": "index.js",
"description": "Dotstail-multiple lines elipsis",
"main": "dotstail.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit a819e5b

Please sign in to comment.