[Pkg-javascript-commits] [dojo] 08/23: Prevent `baseUrl` global variable creation.

David Prévot taffit at moszumanska.debian.org
Sun Sep 14 16:23:11 UTC 2014


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

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

commit 397c3eb986f20caddeee9ee2432c31b0ab102adc
Author: Scott Davis <stdavis at utah.gov>
Date:   Fri Apr 11 16:24:21 2014 -0500

    Prevent `baseUrl` global variable creation.
    
    fixes #17798
---
 dojo.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dojo.js b/dojo.js
index e87d346..6cd7fe8 100644
--- a/dojo.js
+++ b/dojo.js
@@ -579,7 +579,7 @@
 
 				// for each packagePath found in any packagePaths config item, augment the packageConfig
 				// packagePaths is deprecated; remove in 2.0
-				for(baseUrl in config.packagePaths){
+				for(var baseUrl in config.packagePaths){
 					forEach(config.packagePaths[baseUrl], function(packageInfo){
 						var location = baseUrl + "/" + packageInfo;
 						if(isString(packageInfo)){

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