Skip to content

Commit

Permalink
updated index and removed old examples;
Browse files Browse the repository at this point in the history
  • Loading branch information
christophercliff committed Mar 30, 2011
1 parent 1efd0fc commit 2a532ec
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 273 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,3 +1,3 @@
A jQuery UI Widget for contextual pagination.
A jQuery UI widget for contextual pagination.

Currently in development.
For details, see [http://christophercliff.github.com/sausage](http://christophercliff.github.com/sausage).
2 changes: 1 addition & 1 deletion examples/basic.html
Expand Up @@ -9,7 +9,7 @@
<!-- apply CSS reset because we are not savages -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset-fonts/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="../sausage.css">
<link rel="stylesheet" type="text/css" href="../lib/sausage.css">

<style type="text/css">

Expand Down
63 changes: 0 additions & 63 deletions examples/infinite-scroll-page2.html

This file was deleted.

60 changes: 0 additions & 60 deletions examples/infinite-scroll-page3.html

This file was deleted.

122 changes: 0 additions & 122 deletions examples/infinite-scroll.html

This file was deleted.

29 changes: 4 additions & 25 deletions index.html
Expand Up @@ -9,7 +9,6 @@
<!-- apply CSS reset because we are not savages -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset-fonts/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="sausage.css">

<style type="text/css">

Expand Down Expand Up @@ -115,7 +114,7 @@

<h1>sausage.js</h1>

<p>Sausage is a jQuery UI widget for contextual pagination. It complements long or infinite-scrolling pages by keeping the user informed of her location within the document. The best way to understand how Sausage works is to <a href="examples/couchdb.html">view</a> <a href="https://github.com/christophercliff/sausage/tree/master/examples">some</a> <a href="https://github.com/christophercliff/sausage/tree/master/examples">examples</a>.</p>
<p>Sausage is a jQuery UI widget for contextual pagination. It complements long or infinite-scrolling pages by keeping the user informed of her location within the document. The best way to understand how Sausage works is to <a href="examples/couchdb.html">view</a> <a href="examples/basic.html">some</a> <a href="https://github.com/christophercliff/sausage/tree/master/examples">examples</a>.</p>

<p>A complete <a href="tests/index.html">test &amp; benchmark suite</a> is <strike>included</strike> coming soon. You may also read through the <a href="docs/jquery.sausage.html">annotated source code</a> or visit the project page on <a href="http://github.com/christophercliff/sausage/">GitHub</a>. You can report bugs and discuss features on the <a href="http://github.com/christophercliff/sausage/issues">issues page</a>, or send tweets to <a href="http://twitter.com/sausagejs">@sausagejs</a>.</p>

Expand All @@ -126,7 +125,7 @@ <h2>Downloads &amp; Dependencies <i style="padding-left: 12px; font-size:12px;">

<table>
<tr>
<td><a href="jquery.sausage.js">Development Version (0.1.0)</a></td>
<td><a href="jquery.sausage.js">Development Version (1.0.0)</a></td>
<td><i>9 kb, Uncompressed with Comments</i></td>
</tr>
<!--<tr>
Expand All @@ -150,7 +149,7 @@ <h2>Get Started</h2>
;
</pre>

<div>For more advanced usage, refer to the <a href="https://github.com/christophercliff/sausage/tree/master/examples">examples</a> or view the <a href="docs/jquery.sausage.html">annotated source</a>.</p>
<p>For more advanced usage, refer to the <a href="https://github.com/christophercliff/sausage/tree/master/examples">examples</a> or view the <a href="docs/jquery.sausage.html">annotated source</a>.</p>

</li>
<!--<li class="section" data-name="Change Log">
Expand All @@ -160,30 +159,10 @@ <h2>Change Log</h2>
</li>-->
</ol>

<div class="footer">Logo design by <a href="http://toposgraphics.com">Roy Rub</a></div>
<div class="footer">Logo designed by <a href="http://toposgraphics.com">Roy Rub</a></div>

</div><!-- /app -->

<script type="text/javascript" src="lib/jquery-1.5.1.js"></script>
<script type="text/javascript" src="lib/jquery.ui.widget.js"></script>
<script type="text/javascript" src="jquery.sausage.js"></script>
<script type="text/javascript">

$(function(){
return;
$(window)
.sausage({
page: '.section',
content: function (i, $page) {
return '<span class="sausage-span">' + $page.data('name') + '</span>';
}
})
;

});

</script>

</body>

</html>
1 change: 1 addition & 0 deletions jquery.sausage.js
Expand Up @@ -305,6 +305,7 @@
offset_p,
offset_s;

self.offsets = [];
self.count = $items.length;

// Detach from DOM while making changes.
Expand Down

0 comments on commit 2a532ec

Please sign in to comment.