[Pkg-javascript-commits] [dojo] 22/28: Do not execute dojo/on until DOM is ready
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.6
in repository dojo.
commit 5a93bd37cbda573e5c3a6be895336dc42eb46bca
Author: Colin Snover <github.com at zetafleet.com>
Date: Sat Feb 1 06:18:18 2014 +0000
Do not execute dojo/on until DOM is ready
This ensures that the focusin/out feature detection operates
properly even when people do not follow best practices and put
their code in the <head> instead of before </body>.
Refs #17599.
(cherry picked from commit 08187b88273f09326e5ebc8ea03eecd592e7eaca)
(cherry picked from commit 31aab4cc1bb93592d1cb6a3c4e34f612f36d525a)
Conflicts:
on.js
---
on.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/on.js b/on.js
index 5c32088..637c55a 100644
--- a/on.js
+++ b/on.js
@@ -1,4 +1,4 @@
-define(["./has!dom-addeventlistener?:./aspect", "./_base/kernel", "./has"], function(aspect, dojo, has){
+define(["./has!dom-addeventlistener?:./aspect", "./_base/kernel", "./has", "./domReady!"], function(aspect, dojo, has){
"use strict";
if(has("dom")){ // check to make sure we are in a browser, this module should work anywhere
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list