apeatling / web-pull-to-refresh

A native-like JavaScript pull to refresh implementation for the web.
https://apeatling.com/articles/javascript-pull-to-refresh-web/
MIT License
545 stars 93 forks source link

does not work in mobile devices which does not support promises #4

Open patriziomunzi opened 9 years ago

patriziomunzi commented 9 years ago

android 4.0 devices do not support promises. It would be nice to have a fallback

shmdhussain commented 8 years ago

Use jQuery or Angular Promise. I used angular Promise , it is working fine

zilions commented 8 years ago

@shmdhussain - Any chance of getting an example with the Angular promise?

clarklight commented 8 years ago

I am having the same issue, what do i replace?? This line?

var exampleLoadingFunction = function() {
                return new Promise( function( resolve, reject ) {