30 lines
778 B
JavaScript
30 lines
778 B
JavaScript
/*
|
|
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
|
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
see: http://dojotoolkit.org/license for details
|
|
*/
|
|
|
|
/*
|
|
This is an optimized version of Dojo, built for deployment and not for
|
|
development. To get sources and documentation, please visit:
|
|
|
|
http://dojotoolkit.org
|
|
*/
|
|
|
|
//>>built
|
|
|
|
require(["dojo/i18n"], function(i18n){
|
|
i18n._preloadLocalizations("dojox/mobile/nls/compat", []);
|
|
});
|
|
define("dojox/mobile/compat", [
|
|
"dojo/_base/lang",
|
|
"dojo/_base/sniff"
|
|
], function(lang, has){
|
|
var dm = lang.getObject("dojox.mobile", true);
|
|
if(!has("webkit")){
|
|
var s = "dojox/mobile/_compat"; // assign to a variable so as not to be picked up by the build tool
|
|
require([s]);
|
|
}
|
|
return dm;
|
|
});
|