lightningtgc / material-refresh

Google Material Design swipe(pull) to refresh by using JavaScript and CSS3.
http://lightningtgc.github.io/material-refresh/
648 stars 110 forks source link

I'm sorry...but... #4

Closed zhoukekestar closed 9 years ago

zhoukekestar commented 9 years ago

/* Chrome console:

typeof(Zepto) "undefined"

var a; undefined

a undefined

typeof(a); "undefined"

a == undefined true

Zepto == undefined VM484:2 Uncaught ReferenceError: Zepto is not defined

so....... Sorry for that: "Zepto || jQuery" can't run corretly on my chrome(For PC). */

zhoukekestar commented 9 years ago
window.Zepto || window.jQuery 

This should be better.

lightningtgc commented 9 years ago

Thanks, @zhoukekestar . I have fixed this bug in src/main.js, and the material-refresh.js will be removed.