rc-pagination
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -0,1 +1,6 @@ | ||
1.5.5 / 2016-09-01 | ||
================== | ||
* Fix #34 | ||
1.5.4 / 2016-07-31 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -12,6 +12,2 @@ 'use strict'; | ||
// Pager.jsx | ||
first_page: 'First Page', | ||
last_page: 'Last Page', | ||
// Pagination.jsx | ||
@@ -18,0 +14,0 @@ prev_page: 'Previous Page', |
@@ -12,6 +12,2 @@ 'use strict'; | ||
// Pager.jsx | ||
first_page: 'В начало', | ||
last_page: 'В конец', | ||
// Pagination.jsx | ||
@@ -18,0 +14,0 @@ prev_page: 'Назад', |
@@ -12,6 +12,2 @@ 'use strict'; | ||
// Pager.jsx | ||
first_page: '第一页', | ||
last_page: '最后一页', | ||
// Pagination.jsx | ||
@@ -18,0 +14,0 @@ prev_page: '上一页', |
@@ -26,3 +26,2 @@ 'use strict'; | ||
var props = this.props; | ||
var locale = props.locale; | ||
var prefixCls = props.rootPrefixCls + '-item'; | ||
@@ -35,13 +34,5 @@ var cls = prefixCls + ' ' + prefixCls + '-' + props.page; | ||
var title = undefined; | ||
if (props.page === 1) { | ||
title = locale.first_page; | ||
} else if (props.last) { | ||
title = locale.last_page + ': ' + props.page; | ||
} else { | ||
title = props.page; | ||
} | ||
return React.createElement( | ||
'li', | ||
{ title: title, className: cls, onClick: props.onClick }, | ||
{ title: props.page, className: cls, onClick: props.onClick }, | ||
React.createElement( | ||
@@ -48,0 +39,0 @@ 'a', |
{ | ||
"name": "rc-pagination", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"description": "pagination ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32031
755