There are five branches:
[~/javascript/jquery/how-jquery-works-tutorial(master)]$ git branch
getallparams # shows the use of jQuery AJAX get method with all its params
heroku # shows how to deploy the app in Heroku
getscript
* master
separated
-
master
shows how to use jQueryget
on the client side and Sinatra on the server side -
getallparams
shows how to use jQueryget
exemplifying how to use all theget
params.There is a version using express.js instead of Sinatra in this branch composed of these files:
gulpfile.js app.js package.json views/index.ejs views/layout.ejs README.md
-
getscript
shows how to use jQueryget
withdataType
script
-
separated
shows how to put the views/templates in separated files