react-native-refresher icon indicating copy to clipboard operation
react-native-refresher copied to clipboard

Getting a Syntax error in RefresherListView.js

Open swaroopa94 opened this issue 8 years ago • 11 comments

Hi when iam trying to use this module iam getting a syntax error as shown below

simulator screen shot may 12 2016 3 30 45 pm

swaroopa94 avatar May 12 '16 09:05 swaroopa94

I got the same error. I am on ReactNative0.25.1. Thanks for any hints/fixes.

yorzi avatar May 18 '16 07:05 yorzi

I got the same error. I am on ReactNative0.27.2. is it support android version???

waleedarshad-vf avatar Aug 01 '16 11:08 waleedarshad-vf

@yorzi what solution worked for you???

waleedarshad-vf avatar Aug 01 '16 11:08 waleedarshad-vf

The same error for 0.31

afeiship avatar Aug 10 '16 05:08 afeiship

+1

stief510 avatar Aug 18 '16 19:08 stief510

Edit: nevermind, it is actually a syntax error. The .bind(this) seems to be the cause of the error on this line:

ref: (indicator => {this.refs.indicator = indicator || this.refs.indicator}).bind(this)

Edit 2: looks like it's fixed in master, if you install from github. Just not published.

But now there are new problems if you're using RN v0.25.1+

mfkp avatar Aug 21 '16 03:08 mfkp

+1

leonardo015 avatar Oct 19 '16 01:10 leonardo015

Any chance of a fixed release?

npomfret avatar Nov 22 '16 01:11 npomfret

Same error with 0.39.2

jitenderchand1 avatar Jan 09 '17 15:01 jitenderchand1

+1

yasaricli avatar Jan 26 '17 13:01 yasaricli

This functionality is built into react-native now. Maybe there's no need to use this any more.

npomfret avatar Jan 26 '17 23:01 npomfret