[Pkg-javascript-commits] [dojo] 04/27: Enable consumption of old 1.6 built root bundles

David Prévot taffit at moszumanska.debian.org
Sun Sep 14 16:23:04 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 09208222f3d5d17fbaf8621a63c720055bf3e3ef
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 82a850a..183e7cb 100644
--- a/i18n.js
+++ b/i18n.js
@@ -77,7 +77,7 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/config",
 		doLoad = function(require, bundlePathAndName, bundlePath, bundleName, locale, load){
 			// 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