[Pkg-javascript-commits] [dojo] 33/87: 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 bb93d3beea71976742584c0a931511c994f63705
Author: Rawld Gill <rgill at altoviso.com>
Date: Tue Feb 14 21:26:27 2012 +0000
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@27868 560b804f-0ae3-0310-86f3-f6aa0a117693
---
i18n.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/i18n.js b/i18n.js
index 223b517..a611ee5 100644
--- a/i18n.js
+++ b/i18n.js
@@ -245,7 +245,9 @@ 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){
- require([bundlePrefix.replace(/\./g, "/")+"_"+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