Ruby on Rails
Saturday, December 27, 2014
Hi,
I've created a hobby project using zurb foundation framework. Its a bit old but i think it can help you. Pushed it to git
Cheers
On Sun, Dec 28, 2014 at 9:37 AM, David Williams <lists@ruby-forum.com> wrote:
Walter Davis wrote in post #1165528:
> On Dec 27, 2014, at 8:34 PM, David Williams <lists@ruby-forum.com>
> wrote:
>
>
> Anything that is using the page load event to trigger setup will
> generally fail in the presence of turbolinks. You can either disable
> them entirely, or you can wrap your foundation() call in an observer on
> the page:change synthetic event. In jQuery, that's probably going to be
> something like this:
>
> $(document).on('page:change', function(){
> // your foundation methods here
> });
>
> Walter
Having to use this method every time is kind of a headache. I may just
try to disable turbolinks for Javascript all together.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0be024f091eb1b9de9ab4efc4285248e%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-hYYR8cwWQX-T1wo_95%2BfREFTCcCZr_-B8qswLzdPzWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment