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

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


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

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

commit f3cbbaf41de5d1ec4e9772384bb14d51b3514e20
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 1ca34fa..e7c2c1c 100644
--- a/i18n.js
+++ b/i18n.js
@@ -86,7 +86,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