[Pkg-javascript-commits] [dojo] 22/87: backport [27775]; fixes #14048; !strict

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


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

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

commit 16490ce3450b364209d4118f102a3e0f73fd5389
Author: Rawld Gill <rgill at altoviso.com>
Date:   Wed Feb 8 00:36:47 2012 +0000

    backport [27775]; fixes #14048; !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@27779 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 i18n.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/i18n.js b/i18n.js
index 61e15e2..fd45503 100644
--- a/i18n.js
+++ b/i18n.js
@@ -176,7 +176,7 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/lang", "
 		};
 
 		thisModule.normalizeLocale= function(locale){
-			var result = locale ? locale.toLowerCase() : dojo.locale;
+			var result = (locale ? locale : dojo.locale).toLowerCase();
 			if(result == "root"){
 				result = "ROOT";
 			}

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