mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Fix errors uncovered by v0.19.0
Reviewed By: mroch Differential Revision: D2706663 fb-gh-sync-id: 017c91bab849bf18767cacd2ebe32d1a1b10c715
This commit is contained in:
committed by
facebook-github-bot-9
parent
d4d41f9523
commit
892dd5b86a
@@ -11,7 +11,7 @@
|
||||
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* @flow-weak
|
||||
* @flow weak
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
@@ -79,7 +79,8 @@ var PanResponderExample = React.createClass({
|
||||
},
|
||||
|
||||
_highlight: function() {
|
||||
this.circle && this.circle.setNativeProps({
|
||||
const circle = this.circle;
|
||||
circle && circle.setNativeProps({
|
||||
style: {
|
||||
backgroundColor: processColor(CIRCLE_HIGHLIGHT_COLOR)
|
||||
}
|
||||
@@ -87,7 +88,8 @@ var PanResponderExample = React.createClass({
|
||||
},
|
||||
|
||||
_unHighlight: function() {
|
||||
this.circle && this.circle.setNativeProps({
|
||||
const circle = this.circle;
|
||||
circle && circle.setNativeProps({
|
||||
style: {
|
||||
backgroundColor: processColor(CIRCLE_COLOR)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user