Skip to content
Mark edited this page Jan 13, 2019 · 4 revisions

Dhammapuja uses a custom build of jQuery.


To build:

First:

Second:

  • Clone the jQuery git repo onto your local machine by running: git clone https://github.com/jquery/jquery.git

Third:

  • cd into the jquery folder and install the development dependencies by running: cd jquery && npm install

Fourth:

  • Build the the custom jQuery by running: grunt custom:-ajax,-ajax/xhr,-ajax/script,-ajax/jsonp,-deprecated

Fifth:

  • This will output the custom jquery file into the dist directory.

Exclude:

  • ajax
  • ajax/xhr
  • ajax/script
  • ajax/jsonp
  • deprecated
  • event/focusin
  • wrap

Include:

  • css
  • css/showHide
  • dimensions
  • effects
  • event
  • event/alias
  • event/trigger
  • offset
  • core/ready
  • deferred
  • exports/global
  • exports/amd
  • sizzle

Instructions derived from http://thejackalofjavascript.com/custom-build-jquery/

Clone this wiki locally