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

nuke-components

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-components - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

3

HISTORY.md
# Changelog
## 0.1.5 / 2016-11-15
## 0.1.6 / 2016-11-15
* [[b3cb144](http://gitlab.alibaba-inc.com/nuke/nuke-components/commit/b3cb144744677bf8b7a402ae2ba1fc26144a3f22)] - `fix` env大小写
* [[bd13758](http://gitlab.alibaba-inc.com/nuke/nuke-components/commit/bd13758e5d35b5c94c4b9d3e0892b0fab8630b18)] - `fix` update env

@@ -7,0 +8,0 @@ * [[1e1f64b](http://gitlab.alibaba-inc.com/nuke/nuke-components/commit/1e1f64b4eb0ca393bb32a7dca261d2155d967f57)] - `fix` 更新引用

@@ -13,6 +13,4 @@ 'use strict';

var _nukeEnv = require('nuke-Env');
var _nukeEnv = require('nuke-env');
var _nukeEnv2 = _interopRequireDefault(_nukeEnv);
var _view = require('./view');

@@ -34,5 +32,2 @@

var isWeex = _nukeEnv2.default.isWeex;
var DEFAULT_END_REACHED_THRESHOLD = 500;

@@ -52,3 +47,3 @@

value: function render() {
if (isWeex) {
if (_nukeEnv.isWeex) {
return (0, _weexRx.createElement)('cell', _extends({}, this.props, { append: 'tree' }));

@@ -76,3 +71,3 @@ } else {

value: function render() {
if (isWeex) {
if (_nukeEnv.isWeex) {
return (0, _weexRx.createElement)('header', _extends({}, this.props, { append: 'tree' }));

@@ -107,3 +102,3 @@ } else {

if (isWeex) {
if (_nukeEnv.isWeex) {
var dom = require('@weex-module/dom');

@@ -126,3 +121,3 @@ var firstCell = (0, _weexRx.findDOMNode)(_this3.refs.cell0);

if (isWeex) {
if (_nukeEnv.isWeex) {

@@ -129,0 +124,0 @@ var children = props.children;

@@ -13,6 +13,4 @@ 'use strict';

var _nukeEnv = require('nuke-Env');
var _nukeEnv = require('nuke-env');
var _nukeEnv2 = _interopRequireDefault(_nukeEnv);
var _view = require('./view');

@@ -30,4 +28,2 @@

var isWeex = _nukeEnv2.default.isWeex;
var isWeb = _nukeEnv2.default.isWeb;
var DEFAULT_END_REACHED_THRESHOLD = 500;

@@ -53,3 +49,3 @@ var DEFAULT_SCROLL_CALLBACK_THROTTLE = 50;

if (isWeb) {
if (_nukeEnv.isWeb) {

@@ -83,3 +79,3 @@ if (_this.props.onScroll) {

}, _this.resetScroll = function (options) {
if (isWeb) {
if (_nukeEnv.isWeb) {
_this.lastScrollContentSize = 0;

@@ -93,3 +89,3 @@ _this.lastScrollDistance = 0;

if (isWeex) {
if (_nukeEnv.isWeex) {
var dom = require('@weex-module/dom');

@@ -139,3 +135,3 @@ var contentContainer = (0, _weexRx.findDOMNode)(_this.refs.contentContainer);

// bugfix: fix scrollview flex in ios 78
if (!isWeex && !this.props.horizontal) {
if (!_nukeEnv.isWeex && !this.props.horizontal) {
contentContainerStyle.push(styles.containerWebStyle);

@@ -168,3 +164,3 @@ }

if (isWeex) {
if (_nukeEnv.isWeex) {

@@ -171,0 +167,0 @@ return (0, _weexRx.createElement)(

{
"name": "nuke-components",
"version": "0.1.5",
"version": "0.1.6",
"description": "nuke原件库",

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

/* @jsx createElement */
import {PureComponent, Component, createElement, cloneElement, findDOMNode, PropTypes} from 'weex-rx';
import Env from 'nuke-Env';
const isWeex=Env.isWeex;
import {isWeex} from 'nuke-env';
import View from './view';

@@ -7,0 +6,0 @@ import ScrollView from './scrollview';

/* @jsx createElement */
import {Component, createElement, findDOMNode} from 'weex-rx';
import Env from 'nuke-Env';
import {isWeex,isWeb} from 'nuke-env';
import View from './view';
const isWeex = Env.isWeex;
const isWeb = Env.isWeb;
const DEFAULT_END_REACHED_THRESHOLD = 500;

@@ -9,0 +7,0 @@ const DEFAULT_SCROLL_CALLBACK_THROTTLE = 50;

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