Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-refresh-control

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-refresh-control - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

HISTORY.md
# Changelog
## 2.0.1 / 2018-03-27
* [[71a66f4](http://gitlab.alibaba-inc.com/nuke/refresh-control/commit/71a66f453821eac8c065bec5810506f4e82a23e6)] - `fix` add display name
## 2.0.0 / 2018-03-22

@@ -8,2 +12,6 @@

## 0.0.5 / 2017-12-18
* [[eb24412](http://gitlab.alibaba-inc.com/nuke/refresh-control/commit/eb2441295ddf96f3cf49d9ebb73095fe62af77a8)] - `feat` temp solution for iOS crash in qn
## 1.0.1 / 2017-11-23

@@ -10,0 +18,0 @@

16

lib/index.js

@@ -7,4 +7,2 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

@@ -35,5 +33,3 @@

var isWeex = _nukeEnv2.default.isWeex,
isWeb = _nukeEnv2.default.isWeb,
appInfo = _nukeEnv2.default.appInfo;
var isWeex = _nukeEnv2.default.isWeex;

@@ -52,9 +48,4 @@ var RefreshControl = function (_Component) {

value: function render() {
// temp
var extraConfigs = appInfo.appName === 'QN' ? { JDYHeaderStyle: "endAnamtionStyle" } : {};
if (isWeex) {
return (0, _rax.createElement)(_raxRefreshcontrol2.default, _extends({}, extraConfigs, this.props));
} else {
return (0, _rax.createElement)(_nukeView2.default, this.props);
}
var ele = isWeex ? _raxRefreshcontrol2.default : _nukeView2.default;
return (0, _rax.createElement)('ele', this.props);
}

@@ -66,3 +57,4 @@ }]);

RefreshControl.displayName = 'RefreshControl';
exports.default = RefreshControl;
module.exports = exports['default'];
{
"name": "nuke-refresh-control",
"version": "2.0.0",
"version": "2.0.1",
"description": "含 h5 版本的下拉刷新组件",

@@ -5,0 +5,0 @@ "main": "lib/index",

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