Static Assets
Patchwork relies on a number of third-party JavaScript libraries. These, along with their supporting assets and the Patchwork-only libraries and assets, are described below.
css
bootstrap.min.cssCSS for the Bootstrap library.
Refer to the js section below for more information on Bootstrap.
selectize.bootstrap3.cssCSS for the Selectize library.
Refer to the js section below for more information on Selectize.
style.cssCustom, Patchwork styling. Mostly a collection of overrides for default Bootstrap styles.
Part of Patchwork.
fonts
glyphicons-halflings-regular.*Library of precisely prepared monochromatic icons and symbols, created with an emphasis to simplicity and easy orientation. Provided as part of the Bootstrap library.
These are in multiple formats to support different browsers/environments. Refer to the js section below for more information on Bootstrap.
js
bootstrap.jsThe most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
This is used for the main UI of Patchwork.
- Website:
- GitHub:
- Version:
3.2.0
bundle.jsUtility functions for bundle patch list manipulation (re-ordering patches, etc.)
Part of Patchwork.
clipboard.min.jsModern copy to clipboard. No Flash. Just 3kb gzipped
This is used to allow us to “click to copy” various elements in the UI.
- Website:
- GitHub:
- Version:
1.7.1
jquery.jsjQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
This is used across Patchwork, including by the likes of
bundle.js, as well as by the various plugins below.- Website:
- GitHub:
- Version:
3.6.0
jquery.checkboxes.jsA jQuery plugin that gives you nice powers over your checkboxes.
This is used to allow shift-select of checkboxes on the patch list page.
- Website:
- GitHub:
- Version:
1.2.2
jquery.stickytableheaders.jsA jQuery plugin that makes large tables more usable by having the table header stick to the top of the screen when scrolling.
This is used to ensure the heads on the patch list page stay at the top as we scroll.
- GitHub:
- Version:
0.1.24
jquery.tablednd.jsjQuery plug-in to drag and drop rows in HTML tables.
This is used by the bundle patch list to allow us to control the order of the patches in said bundle.
- Website:
http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
- GitHub:
- Version:
1.0.5
js.cookie.min.jsLibrary used to handle cookies.
This is used to get the
csrftokencookie for AJAX requests in JavaScript.- GitHub:
- Version:
3.0.0
patch-list.js.Event helpers and other application logic for patch-list.html. These support patch list manipulation.
Part of Patchwork.
rest.js.Utility module for REST API requests to be used by other Patchwork JS files.
Part of Patchwork.
selectize.min.jsSelectize is the hybrid of a
textboxand<select>box. It’s jQuery based and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.- Website:
- GitHub:
- Version:
0.13.5