/usr/share/javascript/dojo/gears.js is in libjs-dojo-core 1.6.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*
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
*/
if(!dojo._hasResource["dojo.gears"]){
dojo._hasResource["dojo.gears"]=true;
dojo.provide("dojo.gears");
dojo.getObject("gears",true,dojo);
dojo.gears._gearsObject=function(){
var _1;
var _2;
var _3=dojo.getObject("google.gears");
if(_3){
return _3;
}
if(typeof GearsFactory!="undefined"){
_1=new GearsFactory();
}else{
if(dojo.isIE){
try{
_1=new ActiveXObject("Gears.Factory");
}
catch(e){
}
}else{
if(navigator.mimeTypes["application/x-googlegears"]){
_1=document.createElement("object");
_1.setAttribute("type","application/x-googlegears");
_1.setAttribute("width",0);
_1.setAttribute("height",0);
_1.style.display="none";
document.documentElement.appendChild(_1);
}
}
}
if(!_1){
return null;
}
dojo.setObject("google.gears.factory",_1);
return dojo.getObject("google.gears");
};
dojo.gears.available=(!!dojo.gears._gearsObject())||0;
}
|