Permalink
Browse files

updated demo.html

  • Loading branch information...
tbasse committed Apr 3, 2013
1 parent b855b5e commit 8b895ea728d3bc35a389280d159e6309392b5134
Showing with 7 additions and 7 deletions.
  1. +7 −7 demo.html
View
@@ -46,23 +46,23 @@
$(document).ready(function() {
$('.demo1').truncate({
width: 'auto',
- after: '…',
+ token: '…',
side: 'right',
addclass: false,
addtitle: true,
});
$('.demo2').truncate({
width: 'auto',
- after: '…',
+ token: '…',
side: 'center',
addclass: 'highlight',
addtitle: false,
});
$('.demo3').truncate({
width: 'auto',
- after: '…',
+ token: '…',
side: 'left',
addclass: false,
addtitle: false,
@@ -76,7 +76,7 @@
<pre>
$('.demo1').truncate({
width: 'auto',
- after: '&hellip;',
+ token: '&hellip;',
side: 'right',
addclass: false,
addtitle: true,
@@ -94,7 +94,7 @@
<pre>
$('.demo2').truncate({
width: 'auto',
- after: '&hellip;',
+ token: '&hellip;',
side: 'center',
addclass: 'highlight',
addtitle: false,
@@ -112,7 +112,7 @@
<pre>
$('.demo3').truncate({
width: 'auto',
- after: '&hellip;',
+ token: '&hellip;',
side: 'left',
addclass: false,
addtitle: false,
@@ -128,4 +128,4 @@
<p class="demo3 grid600 font24">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</body>
-</html>
+</html>

0 comments on commit 8b895ea

Please sign in to comment.