This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
jquery-bracket with all
npm packages installed. Try it out:
jquery-bracket lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
jQuery bracket is a jQuery plugin that lets users create and display single and double elimination brackets for tournament play.
To get an idea of how you could use the library, or if you're just looking for a quick way of hosting and tracking tournaments online, check out GotBracket.com - early access out now!
Documentation and examples can be found from the project site at http://www.aropupu.fi/bracket/
npm install -g bower) to install jQuery Bracket as a
dependency. If you want to take a manual copy of the code, pre-compiled
version can be found under
bower install jquery-bracket
You can also use
npm install jquery-bracket
npm install -g typescriptto install TypeScript globally
npm startto get dependencies and start "watch" for changes under
npm run checkto test style conformity
npm run formatto auto-format (overwrite) files
Minified files are compiled to
TBDpropagation and final connector bug.
centerConnectors: booleanand disable hover highlight with
disableHighlight: boolean. Bug fixes.
renderdecorator to allow custom visualization for TBD, BYE, no-score, and default win scenarios.
disableTeamEdit: booleanprevents modifying the team when in edit mode.
disableToolbar: booleanprevents modifying the bracket size and format in edit mode.
null) creates a BYE branch. Any team scheduled against BYE will get a default win with no score, and advance automatically to the next match.
jquery-bracketto Bower. You can now use
bower install jquery-bracketto install the library.
skipSecondaryFinalboolean to finish double elimination tournament after first match. Skips the second match normally created if LB winner wins the first match. Display '--' score for non-played matches. Project ported to TypeScript with additional refactorings (not visible for library users).
onMatchClickcallbacks created in order to allow more interaction with the bracket.