diff --git a/i18n.js b/i18n.js index 72fa4a8cda..15344fffeb 100644 --- a/i18n.js +++ b/i18n.js @@ -70,16 +70,16 @@ define(["./_base/kernel", "require", "./has", "./_base/array", "./_base/lang", " // get the root bundle which instructs which other bundles are required to contruct the localized bundle require([bundlePathAndName], function(root){ var - current= cache[bundlePathAndName + "/"]= dojo.clone(root.root), + current= cache[bundlePathAndName + "/"]= lang.clone(root.root), availableLocales= getAvailableLocales(!root._v1x && root, locale, bundlePath, bundleName); require(availableLocales, function(){ for (var i= 1; i