The Dojo Toolkit core library. Please submit bugs to https://bugs.dojotoolkit.org/
JavaScript HTML PHP CSS Shell Batchfile
Latest commit dba041b Feb 15, 2017 @jdonaghue jdonaghue committed with dylans fixes #18895, Prevent changedTouches from being dereferenced on non-T…
…ouchEvent instances
Permalink
Failed to load latest commit information.
_base fixes #18788, Add strict mode support to declare Jan 19, 2017
_firebug remove vestigial firebug lite code, fixes #18727 Oct 5, 2015
cldr refs #16903, cldr/nls: add Indonesian (id) data Dec 7, 2016
data refs #17778, fix typos in inline docs Mar 8, 2014
date Fixes #18900 month parsing for locales with spaces in their month nam… Nov 19, 2016
dnd fixes #18968, dnd/Moveable: add support for pointer events with touch Feb 9, 2017
errors fixes #16547 - CancelError emitted to error console Oct 28, 2016
fx stop using dojo/_base/connect, refs #16585 !strict Jan 17, 2013
io Fixed leak in dojo/io/script. !strict refs #16755 Feb 23, 2013
nls Add Serbian, Bosnian and Macedonian translation. ref #18710 Sep 16, 2015
on fixes #18608, allow on/asyncEventListener to work in Android and Node Jul 3, 2015
promise fixes #16547 - CancelError emitted to error console Oct 28, 2016
request fixes #18943, IE8 request regression Jan 11, 2017
resources refs #18934, updates for JS Foundation rebrand and CLA process Dec 7, 2016
router Squashed commit of the following: Jan 2, 2014
rpc refs #17148, fix how dojo/rpc/RpcService handles errors Sep 11, 2015
selector fixes #18843, regression from selector engine compat for query engine… May 16, 2016
store fixes #18898, add timeout option to JsonRest store Feb 9, 2017
tests fixes #18895, Prevent changedTouches from being dereferenced on non-T… Feb 15, 2017
testsDOH remove vestigial firebug lite code, fixes #18727 Oct 5, 2015
.gitattributes .gitattributes file to normalize line endings Jun 20, 2013
.gitignore Convert tests to intern Jan 7, 2015
AdapterRegistry.js Resolve conflicts with html.js Sep 30, 2013
CONTRIBUTING.md refs #18934, updates for JS Foundation rebrand and CLA process Dec 7, 2016
Deferred.js Improve handling of progback results Sep 26, 2012
DeferredList.js Mark !DeferredList as deprecated in the API doc, but don't call dojo.… Jul 18, 2012
Evented.js Resolve conflicts with html.js Sep 30, 2013
LICENSE refs #18934, updates for JS Foundation rebrand and CLA process Dec 7, 2016
NodeList-data.js Don't do an extraneous mixin on the data returned from a single arg c… Apr 10, 2014
NodeList-dom.js Resolve conflicts with html.js Sep 30, 2013
NodeList-fx.js Resolve conflicts with html.js Sep 30, 2013
NodeList-html.js Resolve conflicts with html.js Sep 30, 2013
NodeList-manipulate.js Fix example for text() to be consistent w/actual behavior and functio… Jan 4, 2015
NodeList-traverse.js Resolve conflicts with html.js Sep 30, 2013
NodeList.js trying to fix doc issues around dojo/NodeList, refs #13101 !strict Jul 5, 2012
OpenAjax.js Fix unintended globals and unused variables, thanks Simon, fixes #155… Jul 1, 2012
README.md Add What to Use Dojo For and When to Use It to the README, update cop… Jan 15, 2017
Stateful.js Doc typo May 21, 2014
aspect.js refs #18155, fix aspect nextId when running multiple versions of Dojo… Sep 11, 2015
back.js dijit, dojo, util: fix more dojodoc misformatting, refs #13101 !strict Jul 21, 2012
behavior.js Use domReady() as a function rather than as a plugin, so dependencies… Aug 21, 2012
bower.json refs #18121, more metadata updates Mar 5, 2016
cache.js Make dojo core module summaries show up in the doc. Jun 18, 2012
colors.js Make dojo core module summaries show up in the doc. Jun 18, 2012
cookie.js Doc only commit. Simplify kwargs definitions and workaround doc parse… Jul 20, 2012
currency.js Doc only commit. Simplify kwargs definitions and workaround doc parse… Jul 20, 2012
date.js refs #17778, fix typos in inline docs Mar 8, 2014
debounce.js fixes #18296, Fix context binding within debounce and throttle Oct 6, 2014
dojo.js fixes #16248, fixes #16617, add catch statements for IE8/IE9 brittleness Feb 1, 2016
dojo.profile.js refs #18648, exclude node_modules directory with dojo package for builds Dec 31, 2015
dom-attr.js refs #18288, fix dom-attr return of non boolean when attr doesn't exist Sep 30, 2014
dom-class.js Remove dojo.hasClass from dom-class documentation, refs #17468 Dec 22, 2015
dom-construct.js refs #18225, dom-construct inline documentation update Aug 30, 2014
dom-form.js fixing more malformed doc, refs #13101 !strict Jul 5, 2012
dom-geometry.js fixes #18911, dojo/dom-geometry getContentBox returns incorrect left/… Dec 7, 2016
dom-prop.js Allow first function registered with dom-prop::set to be disconected. Feb 18, 2015
dom-style.js fixes #18871, allow Firefox to load Dojo in iframe with display:none Dec 7, 2016
dom.js fixes #14629, unbreak build with document.contains check Jan 6, 2016
domReady.js Remove references to globals through `this` in AMD factories Aug 22, 2014
fx.js fixes #18825, fx animation regression Apr 1, 2016
gears.js dojo core: fix api doc formatting, refs #13101 !strict Jun 24, 2012
has.js fixes #18968, dnd/Moveable: add support for pointer events with touch Feb 9, 2017
hash.js Fix dojo.hash() when there's a <base> tag. Oct 14, 2015
hccss.js Fail gracefully if there's an error detecting high contrast mode, fix… Jul 10, 2014
html.js fixes #18703, treat numbers as strings for setting html content Sep 12, 2015
i18n.js fixes #18929, Skip loading i18n preload when dojo-preload-i18n-Api is… Dec 7, 2016
io-query.js refs #16190, whitespace cleanup in io-query. Sep 11, 2015
json.js Allow empty strings in strict JSON parsing, fixes #16255 !strict Feb 28, 2013
keys.js fix summary, refs #13101. Jul 8, 2012
loadInit.js simplified dojo/require and dojo/loadInit plugins; fixes #14109; !strict Oct 17, 2011
main.js remove vestigial firebug lite code, fixes #18727 Oct 5, 2015
mouse.js fixes #18313, Fix typo in documentation example Oct 15, 2014
node.js Port Node.js loader plugin fixes from d2c Aug 23, 2014
number.js fixes #18856 Deleting local variable Sep 6, 2016
on.js fixes #18895, Prevent changedTouches from being dereferenced on non-T… Feb 15, 2017
package.json Updating source version to 1.13.0-pre Dec 20, 2016
parser.js Switch parser logic to not be confused by Node.rootNode. Apr 13, 2016
query.js Resolve conflicts with html.js Sep 30, 2013
ready.js Fix dojo/ready to not blindly make calls to methods that might not ex… Apr 28, 2013
regexp.js escape dash in regexp.escapeString, fixes #17861 Apr 16, 2014
request.js refs #13101, clean-up docs Aug 24, 2012
require.js simplified dojo/require and dojo/loadInit plugins; fixes #14109; !strict Oct 17, 2011
robot.js Do mousemove timing in javascript, rather than in java. This is getti… Jul 13, 2012
robotx.js remove vestigial firebug lite code, fixes #18727 Oct 5, 2015
router.js dojo core: fix api doc formatting, refs #13101 !strict Jun 24, 2012
sniff.js fixes #17498, add modern opera has test Dec 26, 2015
string.js fixes #18918 by checking result of transform and not the initial value Nov 11, 2016
tests.js dojo core: fix api doc formatting, refs #13101 !strict Jun 24, 2012
text.js Ensure dojo/text does not cause preflight requests Apr 22, 2014
throttle.js Support debounce/throttle events and on.matches May 10, 2014
topic.js dojo core: fix api doc formatting, refs #13101 !strict Jun 24, 2012
touch.js Fix dojo/touch to not break native checkbox and radio on iOS and Andr… Nov 3, 2015
uacss.js Add dj_edge flag to be consistent w/flags for other browsers. Oct 2, 2015
when.js Revise conditions under which dojo/when creates a promise; fixes #166… Feb 17, 2013
window.js has("webkit") and has("mozilla") should also be falsy for Edge, refs … Oct 20, 2015

README.md

dojo

dojo is the foundation package of version 1.x of the Dojo Toolkit. Sometimes referred to as the “core”, it contains the most generally applicable sub-packages and modules. The dojo package covers a wide range of functionality like Ajax, DOM manipulation, class-type programming, events, promises, data stores, drag-and-drop and internationalization libraries.

Installing

Installation instructions are available at dojotoolkit.org/download.

Getting Started

If you are starting out with Dojo, the following resources are available to you:

What to Use Dojo For and When to Use It

The following is a brief sampling of some of the areas where Dojo may prove to be the right tool for your next project:

  • For keeping your code fast and maintainable, Dojo offers an asynchronous module definition (AMD) loader -- encapsulating pieces of code into useful units, loading small JavaScript files only when they are needed, and loading files separately even when they are dependent on one another.

  • When you want to easily extend existing classes, share functionality among a number of classes, and maximize code reuse, Dojo provides class-like inheritance and “mixins.”

  • For creating advanced and customizable user interfaces out of refined, efficient, and modular pieces, Dojo’s Dijit framework offers several dozen enterprise-ready widgets -- including buttons, textboxes, form widgets with built-in validation, layout elements, and much more -- along with themes to lend them a consistent look. All of this is available for mobile environments as well.

  • For working with advanced vector graphics, Dojo’s GFX API can render graphics in a wide variety of formats, with support for seamless manipulation (skewing, rotating, resizing), gradients, responding to mouse events, and more.

  • The dojox/charting library supports powerful data visualization and dynamic charting, including a variety of 2D plots and animated charting elements.

  • When you need feature-rich, lightweight, and mobile-friendly grids/tables, Dojo offers the dgrid widget, along with customizable default themes and accompanying features such as in-cell editing, row/cell selection, column resizing/reordering, keyboard handling, pagination, and more.

  • Dojo is the officially supported framework for the ArcGIS API for JavaScript, one of the most widely used enterprise-grade APIs for web mapping and spatial analysis -- learning to use Dojo will open doors to creating richer web mapping applications using that API.

License and Copyright

The Dojo Toolkit (including this package) is dual licensed under BSD 3-Clause and AFL. For more information on the license please see the License Information. The Dojo Toolkit is Copyright (c) 2005-2017, JS Foundation. All rights reserved.