Skip to content

Commit 753cc9b

Browse files
superRaytin羽牧
authored andcommitted
Update to 2.0.5.
1 parent 98760fd commit 753cc9b

File tree

6 files changed

+19
-12
lines changed

6 files changed

+19
-12
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paginationjs",
3-
"version": "2.0.0",
3+
"version": "2.0.5",
44
"main": "./pagination.min.js",
55
"ignore": [
66
"**/.*",

component.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paginationjs",
3-
"version": "2.0.0",
3+
"version": "2.0.5",
44
"repo": "superRaytin/paginationjs",
55
"description": "A jQuery plugin to provide simple yet fully customisable pagination",
66
"keywords": [
@@ -11,6 +11,13 @@
1111
"jquery pagination"
1212
],
1313
"main": "dist/pagination.min.js",
14-
"scripts": ["dist/pagination.min.js", "dist/pagination.js"],
14+
"scripts": [
15+
"dist/pagination.min.js",
16+
"dist/pagination.js",
17+
"dist/pagination-with-styles.min.js",
18+
"dist/pagination-with-styles.js",
19+
"dist/pagination.css",
20+
"dist/pagination.less"
21+
],
1522
"license": "MIT"
1623
}

dist/pagination-with-styles.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pagination.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/pagination.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Paginationjs example</title>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
66
<!--
7-
<link href="css/pagination.css" rel="stylesheet" type="text/css">
7+
<link href="../dist/pagination.css" rel="stylesheet" type="text/css">
88
-->
99
<style type="text/css">
1010
ul, li{
@@ -38,8 +38,8 @@
3838
</section>
3939
</div>
4040

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

@@ -58,7 +58,7 @@
5858
var options = {
5959
dataSource: sources,
6060
callback: function(response, pagination){
61-
console.log(response, pagination);
61+
window.console && console.log(response, pagination);
6262

6363
var dataHtml = '<ul>';
6464

@@ -75,12 +75,12 @@
7575
//$.pagination(container, options);
7676

7777
container.addHook('beforeInit', function(){
78-
console.log('beforeInit...');
78+
window.console && console.log('beforeInit...');
7979
});
8080
container.pagination(options);
8181

8282
container.addHook('beforePageOnClick', function(){
83-
console.log('beforePageOnClick...');
83+
window.console && console.log('beforePageOnClick...');
8484
//return false
8585
});
8686

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paginationjs",
3-
"version": "2.0.3",
3+
"version": "2.0.5",
44
"description": "A jQuery plugin to provide simple yet fully customisable pagination",
55
"main": "pagination.js",
66
"directories": {

0 commit comments

Comments
 (0)