From 73b9cb57b99c45c04743b40280af0716096c29a9 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 24 Apr 2014 16:24:51 +0800 Subject: [PATCH] Readme: remove note about Zurb foundation --- README.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/README.md b/README.md index a03c114..ecee776 100644 --- a/README.md +++ b/README.md @@ -59,24 +59,6 @@ either `true` or `false` depending on whether the page is loading. ## Troubleshooting -### Zurb Foundation - -The `$(function(){ $(document).foundation(); });` has to come before the -turbolinks gem. - -``` js -//= require jquery -//= require jquery.turbolinks -//= require jquery_ujs -// -// ... your other scripts here ... - -$(function(){ $(document).foundation(); }); - -// -//= require turbolinks -``` - ### Events firing twice or more If you find that some events are being fired multiple times after using jQuery Turbolinks, you may have been binding your `document` events inside a `$(function())` block. For instance, this example below can be a common occurrence and should be avoided: