[Pkg-javascript-commits] [dojo] 06/07: Only require selector/_loader when DOM present. Fixes #17138. (cherry picked from commit f8c0a982ec0ba4debb21713a27732fcfafb527f1)

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.9.1
in repository dojo.

commit 43d05c64c43dfc9595c2e9455d83f4e9ee605037
Author: Kitson Kelly <dojo at kitsonkelly.com>
Date:   Thu Jun 6 08:21:20 2013 +0100

    Only require selector/_loader when DOM present. Fixes #17138.
    (cherry picked from commit f8c0a982ec0ba4debb21713a27732fcfafb527f1)
---
 request/handlers.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/request/handlers.js b/request/handlers.js
index f88d3bc..e04c229 100644
--- a/request/handlers.js
+++ b/request/handlers.js
@@ -3,7 +3,7 @@ define([
 	'../_base/kernel',
 	'../_base/array',
 	'../has',
-	'../selector/_loader' // only included for has() qsa tests
+	'../has!dom?../selector/_loader' // only included for has() qsa tests
 ], function(JSON, kernel, array, has){
 	has.add('activex', typeof ActiveXObject !== 'undefined');
 	has.add('dom-parser', function(global){

-- 
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