Since the common browsers create ONLY 2 HTTP requests at the same time on loading a page, I decide to combine the seperated JavaScript files into one jq4r.js
file. If you have installed this plugin, follow these steps:
- Update from the repository
- Remove the original
${RAILS_ROOT}/public/javascripts/jquery.js
and${RAILS_ROOT}/public/javascripts/jquery-form.js
- Re-execute
rake jq4r:install
for installing the newjq4r.js
file.
You NEVER need to modify your source.
In the following revisions, I will put all the JavaScript code in
jq4r.js
. How do you feel about it?
No comments:
Post a Comment