syrusakbary / react-native-refresher

A pull to refresh ListView for React Native completely written in js.
MIT License
453 stars 34 forks source link

Getting a Syntax error in RefresherListView.js #19

Open swaroopa94 opened 8 years ago

swaroopa94 commented 8 years ago

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

yorzi commented 8 years ago

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

waleedarshad-vf commented 8 years ago

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

waleedarshad-vf commented 8 years ago

@yorzi what solution worked for you???

afeiship commented 8 years ago

The same error for 0.31

stief510 commented 8 years ago

+1

mfkp commented 8 years ago

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+

leonardo015 commented 8 years ago

+1

npomfret commented 7 years ago

Any chance of a fixed release?

jitenderchand1 commented 7 years ago

Same error with 0.39.2

yasaricli commented 7 years ago

+1

npomfret commented 7 years ago

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