You are right. Sometimes there where multiple ajax requests.
This script only fires one time, removes the eventlistener on scroll end adds it when finished.
I think this episode needs a part 2 or maybe part 3 episode since most rails apps are more complex. Would be great to have a proof of concept for a website with different pages, authentication, authorization.
thx
Doesn't painting.image.recreate_versions! do the trick?
+1
No, I didn't know that those exist!
Thank you!
We used it on http://www.moviebreak.de/
It is a German Movie Website.
We had trouble with the mobile first aspect on IE8, because IE8 doesn't support media queries.
I hated to use !important all the time to override Foundation defaults.
true!
In a model I only want to find those which didn't expire, yet.
For that I have a scope:
Should I use Time.current instead? I don't feel like I got the point :)
When I set this variable :ends_at, should I use Time.current + 30.days ?
Thx for the great work!
You are right. Sometimes there where multiple ajax requests.
This script only fires one time, removes the eventlistener on scroll end adds it when finished.
This works with turbolinks.
Thx for this episode. Where is part 2? :)
I think this episode needs a part 2 or maybe part 3 episode since most rails apps are more complex. Would be great to have a proof of concept for a website with different pages, authentication, authorization.
Have a nice day.
+1!
what would be the best strategy to combine it with e.g. omniauth-facebook?