tscolari/jquery-mobile-rails — Issue #1: How to configure?
Author: linjunpop
Created: 2011-10-19 01:36:18+00:00
State: open

Where can I put the configuration code?

I create a new file `jquery_mobile_config.js.coffee`

$(document).bind("mobileinit", () ->
$.mobile.ajaxEnabled = false
$.mobile.ajaxLinksEnabled = false
$.mobile.ajaxFormsEnabled = false
#$.mobile.defaultTransition = 'none'
)

In my `application.js`

//= require jquery_mobile_config
//= require jquery.mobile

The configuration is not working.