[Pkg-javascript-commits] [dojo] 87/88: 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:42 UTC 2014


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

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

commit 585eba54389c9f612d73d8899be67090503efa36
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