[Pkg-javascript-commits] [dojo] 09/21: Enable consumption of old 1.6 built root bundles
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.2
in repository dojo.
commit ac7ab78962e3b7d2de338bb0620681f62c538a71
Author: Patrick Ruzand <pruzand at gmail.com>
Date: Tue Oct 1 15:49:06 2013 +0000
Enable consumption of old 1.6 built root bundles
Fixes #17398.
(cherry picked from commit 2e59e88d38a047c70a10f9594ecc7b875a38fa3d)
---
i18n.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i18n.js b/i18n.js
index 2cb04e4..f34d222 100644
--- a/i18n.js
+++ b/i18n.js
@@ -87,7 +87,7 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/config",
// summary:
// get the root bundle which instructs which other bundles are required to construct the localized bundle
require([bundlePathAndName], function(root){
- var current = lang.clone(root.root),
+ var current = lang.clone(root.root || root.ROOT),// 1.6 built bundle defined ROOT
availableLocales = getAvailableLocales(!root._v1x && root, locale, bundlePath, bundleName);
require(availableLocales, function(){
for (var i = 1; i<availableLocales.length; i++){
--
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