Skip to content

Commit

Permalink
Update to 2.0.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
superRaytin authored and 羽牧 committed Jan 18, 2015
1 parent 98760fd commit 753cc9b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paginationjs",
"version": "2.0.0",
"version": "2.0.5",
"main": "./pagination.min.js",
"ignore": [
"**/.*",
Expand Down
11 changes: 9 additions & 2 deletions component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paginationjs",
"version": "2.0.0",
"version": "2.0.5",
"repo": "superRaytin/paginationjs",
"description": "A jQuery plugin to provide simple yet fully customisable pagination",
"keywords": [
Expand All @@ -11,6 +11,13 @@
"jquery pagination"
],
"main": "dist/pagination.min.js",
"scripts": ["dist/pagination.min.js", "dist/pagination.js"],
"scripts": [
"dist/pagination.min.js",
"dist/pagination.js",
"dist/pagination-with-styles.min.js",
"dist/pagination-with-styles.js",
"dist/pagination.css",
"dist/pagination.less"
],
"license": "MIT"
}
2 changes: 1 addition & 1 deletion dist/pagination-with-styles.min.js

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

2 changes: 1 addition & 1 deletion dist/pagination.min.js

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

12 changes: 6 additions & 6 deletions examples/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Paginationjs example</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--
<link href="css/pagination.css" rel="stylesheet" type="text/css">
<link href="../dist/pagination.css" rel="stylesheet" type="text/css">
-->
<style type="text/css">
ul, li{
Expand Down Expand Up @@ -38,8 +38,8 @@
</section>
</div>

<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="../dist/pagination.js"></script>
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="../dist/pagination-with-styles.js"></script>
<script>
$(function(){

Expand All @@ -58,7 +58,7 @@
var options = {
dataSource: sources,
callback: function(response, pagination){
console.log(response, pagination);
window.console && console.log(response, pagination);

var dataHtml = '<ul>';

Expand All @@ -75,12 +75,12 @@
//$.pagination(container, options);

container.addHook('beforeInit', function(){
console.log('beforeInit...');
window.console && console.log('beforeInit...');
});
container.pagination(options);

container.addHook('beforePageOnClick', function(){
console.log('beforePageOnClick...');
window.console && console.log('beforePageOnClick...');
//return false
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paginationjs",
"version": "2.0.3",
"version": "2.0.5",
"description": "A jQuery plugin to provide simple yet fully customisable pagination",
"main": "pagination.js",
"directories": {
Expand Down

0 comments on commit 753cc9b

Please sign in to comment.