summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJed Foster <jed@jedfoster.com>2013-03-25 08:02:23 -0700
committerJed Foster <jed@jedfoster.com>2013-03-25 08:02:23 -0700
commit48f0629b48f2ec7d3524c83103c3cd227f74bc1d (patch)
tree2cd3f6cb38e8b8dc58f6faf8e31f1318bacfe5b3
parentac0f3630a5c5da61efbdedf3ee5c148a40b0057e (diff)
downloadReadmore.js-48f0629b48f2ec7d3524c83103c3cd227f74bc1d.zip
Readmore.js-48f0629b48f2ec7d3524c83103c3cd227f74bc1d.tar.gz
Readmore.js-48f0629b48f2ec7d3524c83103c3cd227f74bc1d.tar.bz2
Add short section to demo
-rw-r--r--demo.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/demo.html b/demo.html
index 6aa3b17..071c696 100644
--- a/demo.html
+++ b/demo.html
@@ -85,6 +85,12 @@
<p>Yr messenger bag fanny pack small batch, single-origin coffee literally gluten-free farm-to-table 8-bit godard butcher fap actually biodiesel trust fund. Pickled squid cred pug pop-up. Polaroid deep v 90's, +1 godard mumblecore retro next level carles salvia try-hard food truck gluten-free. Four loko post-ironic tofu lomo, narwhal readymade mustache jean shorts letterpress. Leggings put a bird on it farm-to-table jean shorts williamsburg cardigan. Gentrify pug bushwick PBR fixie etsy. PBR banh mi cardigan, cosby sweater master cleanse mixtape fingerstache.</p>
</article>
+
+ <article class="slide">
+ <h2>This section is shorter than the Readmore minimum</h2>
+
+ <p>Put a bird on it you probably haven't heard of them DIY, vice photo booth terry richardson pickled vegan cray. Pug DIY blog stumptown 3 wolf moon, blue bottle farm-to-table actually banh mi fanny pack quinoa small batch. Mumblecore raw denim hoodie ethnic. Craft beer sriracha mlkshk, organic bicycle rights twee gentrify messenger bag keffiyeh ethical helvetica tumblr. Gluten-free tousled vinyl pop-up. Butcher keytar pickled literally, cosby sweater chambray authentic. Fixie odd future kale chips, church-key pinterest beard pour-over banksy typewriter dreamcatcher squid blue bottle sartorial.</p>
+ </article>
</section>
</div>
@@ -92,7 +98,7 @@
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.8.3.js"%3E%3C/script%3E'))</script>
- <script src="readmore.min.js"></script>
+ <script src="readmore.js"></script>
<script>
$('article').readmore({maxHeight: 212});