Sha256: 40581310869f8d60870f39b2efdd6e3b0a92933f21ac1201f5980c973d18161e

Contents?: true

Size: 986 Bytes

Versions: 1

Compression:

Stored size: 986 Bytes

Contents

/*
	Copyright (c) 2004-2012, 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
*/

//>>built
define("dojo/gears",["./_base/lang","./sniff"],function(_1,_2){
var _3={};
_1.setObject("dojo.gears",_3);
_3._gearsObject=function(){
var _4;
var _5=_1.getObject("google.gears");
if(_5){
return _5;
}
if(typeof GearsFactory!="undefined"){
_4=new GearsFactory();
}else{
if(_2("ie")){
try{
_4=new ActiveXObject("Gears.Factory");
}
catch(e){
}
}else{
if(navigator.mimeTypes["application/x-googlegears"]){
_4=document.createElement("object");
_4.setAttribute("type","application/x-googlegears");
_4.setAttribute("width",0);
_4.setAttribute("height",0);
_4.style.display="none";
document.documentElement.appendChild(_4);
}
}
}
if(!_4){
return null;
}
_1.setObject("google.gears.factory",_4);
return _1.getObject("google.gears");
};
_3.available=(!!_3._gearsObject())||0;
return _3;
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dojo-rails-0.14.0 vendor/assets/javascripts/dojo/gears.js