Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FrDH committed May 21, 2015
1 parent 8a3e042 commit 77b9618
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jQuery.dotdotdot",
"main": "src/js/jquery.dotdotdot.js",
"version": "1.7.2",
"version": "1.7.3",
"homepage": "http://dotdotdot.frebsite.nl/",
"authors": [
"Fred Heusschen <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion dotdotdot.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dotdotdot",
"version": "1.7.2",
"version": "1.7.3",
"title": "jQuery dotdotdot",
"description": "A jQuery plugin for advanced cross-browser ellipsis on multiple line content.",
"homepage": "http://dotdotdot.frebsite.nl",
Expand Down
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "jQuery.dotdotdot",
"main": "src/js/jquery.dotdotdot.js",
"version": "1.7.3",
"homepage": "http://dotdotdot.frebsite.nl/",
"author": "Fred Heusschen <[email protected]>",
"description": "A jQuery plugin for advanced cross-browser ellipsis on multiple line content.",
"keywords": [
"ellipsis",
"dotdotdot",
"multiline",
"text",
"text-overflow",
"overflow",
"dots"
]
}
6 changes: 3 additions & 3 deletions src/js/jquery.dotdotdot.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jQuery dotdotdot 1.7.2
* jQuery dotdotdot 1.7.3
*
* Copyright (c) Fred Heusschen
* www.frebsite.nl
Expand Down Expand Up @@ -341,7 +341,7 @@
var isTruncated = false;

// Don't put the ellipsis directly inside these elements
var notx = 'a table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style';
var notx = 'a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style';

// Don't remove these elements even if they are after the ellipsis
var noty = 'script, .dotdotdot-keep';
Expand All @@ -356,7 +356,7 @@
var e = this,
$e = $(e);

if ( typeof e == 'undefined' || ( e.nodeType == 3 && $.trim( e.data ).length == 0 ) )
if ( typeof e == 'undefined' )
{
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions src/js/jquery.dotdotdot.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77b9618

Please sign in to comment.