[Pkg-javascript-commits] [dojo] 34/87: checked in wrong file in [27868], try again, fixed i18n trying to preload nonexisting i18n bundle from 1.6 build output; refs #14169; !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:18 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 5aef2512c5716ab14c1c8ad852636b9700f751ff
Author: Rawld Gill <rgill at altoviso.com>
Date:   Tue Feb 14 21:28:38 2012 +0000

    checked in wrong file in [27868], try again, fixed i18n trying to preload nonexisting i18n bundle from 1.6 build output; refs #14169; !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@27869 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 i18n.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/i18n.js b/i18n.js
index a611ee5..e916486 100644
--- a/i18n.js
+++ b/i18n.js
@@ -195,7 +195,7 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/config",
 						});
 					}
 				});
-				callback.apply(null, results);
+				callback && callback.apply(null, results);
 			},
 
 			normalizeLocale = thisModule.normalizeLocale= function(locale){
@@ -245,9 +245,7 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/config",
 				forEachLocale(locale, function(loc){
 					for(var i=0; i<localesGenerated.length;i++){
 						if(localesGenerated[i] == loc){
-
 							syncRequire([bundlePrefix.replace(/\./g, "/")+"_"+loc]);
-							//require([bundlePrefix.replace(/\./g, "/")+"_"+loc]);
 							return true; // Boolean
 						}
 					}

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