Socket
Socket
Sign inDemoInstall

rc-pagination

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-pagination - npm Package Compare versions

Comparing version 1.5.4 to 1.5.5

5

HISTORY.md

@@ -0,1 +1,6 @@

1.5.5 / 2016-09-01
==================
* Fix #34
1.5.4 / 2016-07-31

@@ -2,0 +7,0 @@ ==================

4

lib/locale/en_US.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc