Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix bug in readme which causes execution to fail
  • Loading branch information
Dynamo6 committed Nov 10, 2015
1 parent 3166ea6 commit b95d180
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -29,17 +29,17 @@ Change the link text to 'read more' and 'read less' overriding default value 'mo
Override default display 100 characters and hide text above 50 characters.

$(element).shorten({
showChars: '50',
showChars: 50,
});

Parameters
----------
You can change the behaviour by changing following js variables.

* `showChar`: Total characters to show to user. If the content is more then showChar, it will be split into two halves and first one will be showed to user.
* `ellipsesText`: The text displayed before “more” link. Default is “…”
* `moreText`: The text shown in more link. Default is “more”. You can change to ">>" or "read more"
* `lessText`: The text shown in less link. Default is “less”. You can change to "<<" or "read less"
* `ellipsesText`: The text displayed before “more” link. Default is “…”
* `moreText`: The text shown in more link. Default is “more”. You can change to ">>" or "read more"
* `lessText`: The text shown in less link. Default is “less”. You can change to "<<" or "read less"


Licence
Expand All @@ -65,4 +65,4 @@ Licence
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit b95d180

Please sign in to comment.