react-dual-range-slider
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -61,2 +61,50 @@ { | ||
{ | ||
"name": "onTouchStart0", | ||
"docblock": null, | ||
"modifiers": [], | ||
"params": [ | ||
{ | ||
"name": "event", | ||
"type": null | ||
} | ||
], | ||
"returns": null | ||
}, | ||
{ | ||
"name": "onTouchStart1", | ||
"docblock": null, | ||
"modifiers": [], | ||
"params": [ | ||
{ | ||
"name": "event", | ||
"type": null | ||
} | ||
], | ||
"returns": null | ||
}, | ||
{ | ||
"name": "onTouchMove", | ||
"docblock": null, | ||
"modifiers": [], | ||
"params": [ | ||
{ | ||
"name": "event", | ||
"type": null | ||
} | ||
], | ||
"returns": null | ||
}, | ||
{ | ||
"name": "onTouchEnd", | ||
"docblock": null, | ||
"modifiers": [], | ||
"params": [ | ||
{ | ||
"name": "event", | ||
"type": null | ||
} | ||
], | ||
"returns": null | ||
}, | ||
{ | ||
"name": "onMouseMove", | ||
@@ -74,2 +122,14 @@ "docblock": "onMouseMove\r\nevent triggered when the user moves his mouse", | ||
{ | ||
"name": "move", | ||
"docblock": null, | ||
"modifiers": [], | ||
"params": [ | ||
{ | ||
"name": "event", | ||
"type": null | ||
} | ||
], | ||
"returns": null | ||
}, | ||
{ | ||
"name": "getMoveCurrentValue", | ||
@@ -76,0 +136,0 @@ "docblock": "getMoveCurrentValue\r\nreturn the moving current value", |
@@ -50,8 +50,3 @@ "use strict"; | ||
ReactDualRangeSlider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { | ||
var props = {}; | ||
for (el in this.props) { | ||
props[el] = this.props[el]; | ||
} | ||
this.setState(this.getStateFromProps(props)); | ||
this.setState(this.getStateFromProps(nextProps)); | ||
}; | ||
@@ -58,0 +53,0 @@ |
{ | ||
"name": "react-dual-range-slider", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "react-dual-range-slider", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -17,8 +17,3 @@ import React, {PropTypes} from "react"; | ||
componentWillReceiveProps(nextProps) { | ||
let props = {}; | ||
for(el in this.props) { | ||
props[el] = this.props[el]; | ||
} | ||
this.setState(this.getStateFromProps(props)); | ||
this.setState(this.getStateFromProps(nextProps)); | ||
} | ||
@@ -25,0 +20,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1764897
10854