From 5279f1a083d279dece6e38ebee5dcd43352afdf7 Mon Sep 17 00:00:00 2001 From: bsag Date: Sat, 16 Jul 2011 06:01:58 -0700 Subject: [PATCH] Created Upgrading jquery (textile) --- Upgrading-jquery.textile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Upgrading-jquery.textile diff --git a/Upgrading-jquery.textile b/Upgrading-jquery.textile new file mode 100644 index 0000000..ff7e582 --- /dev/null +++ b/Upgrading-jquery.textile @@ -0,0 +1,31 @@ +h1. Upgrading jQuery + +Upgrading jQuery is done by hand and involves the following steps: + +* download latest min version of jQuery from http://jquery.com +* save it to @public/javascripts@ +* remove old js: @git rm public/javascripts/jquery-XX.min.js@ +* change ref to jquery javascripts in +** @app/views/layouts/login.html.erb@ +** @app/views/layouts/standard.html.erb@ + +Upgrading jQueryUI by hand involves the following steps: + +* download the ui zip from jqueryui.com using the custom download +** check all modules +** select Sunny as the theme +** select the latest version +** click download +* remove old ui files +** @git rm -r public/stylesheets/images@ +** @git rm public/stylesheets/jquery-ui-XX.custom.js@ +** @git rm public/javascripts/jquery-ui-XX.custom.min.js@ +* add new ui files +** from @/css/sunny@ in the zip copy all (css and images) to @public/stylesheets@. Yes the images need to be in this stylesheets directory for jQuery to find them +** from @/js@ in the zip copy only @jquery-ui-XX.min.js@ to @public/javascripts@ +* change ref to jquery-ui javascripts AND stylesheets in +** @app/views/layouts/standard.html.erb@ + +Test Tracks (@rake cucumber:selenium@) and enjoy + +Remember to clear the cache on production environments! \ No newline at end of file