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

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


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

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

commit c26e8fbd0dcbaeeb0d63fb4757b30d337374abbb
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 e14b323..9fc2030 100644
--- a/dojo.js
+++ b/dojo.js
@@ -548,7 +548,7 @@
 				forEach(config.packages, fixupPackageInfo);
 
 				// for each packagePath found in any packagePaths config item, augment the packs map owned by the loader
-				for(baseUrl in config.packagePaths){
+				for(var baseUrl in config.packagePaths){
 					forEach(config.packagePaths[baseUrl], function(packageInfo){
 						fixupPackageInfo(packageInfo, baseUrl + "/");
 					});

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