rem: if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg", "1.0"))){ drs.capable = t; drs.support.builtin = t; drs.support.plugin = f; }  if(drh.safari){ var tmp = dua.split("AppleWebKit/")[1]; var ver = parseFloat(tmp.split(" ")[0]); if(ver >= 420){ 
add: if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg", "1.0"))){ 
context: (function() {	// before we get any further with the config options, try to pick them out	// of the URL. Most of this code is from NW	if(djConfig.allowQueryConfig){		var baseUrl = document.location.toString(); // FIXME: use location.query instead?		var params = baseUrl.split("?", 2);		if(params.length > 1){			var paramStr = params[1];			var pairs = paramStr.split("&");			for(var x in pairs){				var sp = pairs[x].split("=");				// FIXME: is this eval dangerous?				if((sp[0].length > 9)&&(sp[0].substr(0, 9) == "djConfig.")){					var opt = sp[0].substr(9);					try{						djConfig[opt]=eval(sp[1]);					}catch(e){						djConfig[opt]=sp[1];					}				}			}		}	}	if(((djConfig["baseScriptUri"] == "")||(djConfig["baseRelativePath"] == "")) &&(document && document.getElementsByTagName)){		var scripts = document.getElementsByTagName("script");		var rePkg = /(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;		for(var i = 0; i < scripts.length; i++) {			var src = scripts[i].getAttribute("src");			if(!src) { continue; }			var m = src.match(rePkg);			if(m) {				var root = src.substring(0, m.index);				if(src.indexOf("bootstrap1") > -1) { root += "../"; }				if(!this["djConfig"]) { djConfig = {}; }				if(djConfig["baseScriptUri"] == "") { djConfig["baseScriptUri"] = root; }				if(djConfig["baseRelativePath"] == "") { djConfig["baseRelativePath"] = root; }				break;			}		}	}	// fill in the rendering support information in dojo.render.*	var dr = dojo.render;	var drh = dojo.render.html;	var drs = dojo.render.svg;	var dua = (drh.UA = navigator.userAgent);	var dav = (drh.AV = navigator.appVersion);	var t = true;	var f = false;	drh.capable = t;	drh.support.builtin = t;	dr.ver = parseFloat(drh.AV);	dr.os.mac = dav.indexOf("Macintosh") >= 0;	dr.os.win = dav.indexOf("Windows") >= 0;	// could also be Solaris or something, but it's the same browser	dr.os.linux = dav.indexOf("X11") >= 0;	drh.opera = dua.indexOf("Opera") >= 0;	drh.khtml = (dav.indexOf("Konqueror") >= 0)||(dav.indexOf("Safari") >= 0);	drh.safari = dav.indexOf("Safari") >= 0;	var geckoPos = dua.indexOf("Gecko");	drh.mozilla = drh.moz = (geckoPos >= 0)&&(!drh.khtml);	if (drh.mozilla) {		// gecko version is YYYYMMDD		drh.geckoVersion = dua.substring(geckoPos + 6, geckoPos + 14);	}	drh.ie = (document.all)&&(!drh.opera);	drh.ie50 = drh.ie && dav.indexOf("MSIE 5.0")>=0;	drh.ie55 = drh.ie && dav.indexOf("MSIE 5.5")>=0;	drh.ie60 = drh.ie && dav.indexOf("MSIE 6.0")>=0;	drh.ie70 = drh.ie && dav.indexOf("MSIE 7.0")>=0;	var cm = document["compatMode"];	drh.quirks = (cm == "BackCompat")||(cm == "QuirksMode")||drh.ie55||drh.ie50;	// TODO: is the HTML LANG attribute relevant?	dojo.locale = dojo.locale || (drh.ie ? navigator.userLanguage : navigator.language).toLowerCase();	dr.vml.capable=drh.ie;	drs.capable = f;	drs.support.plugin = f;	drs.support.builtin = f;	var tdoc = window["document"];	var tdi = tdoc["implementation"];	if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg", "1.0"))){		drs.capable = t;		drs.support.builtin = t;		drs.support.plugin = f;	}	// webkits after 420 support SVG natively. The test string is "AppleWebKit/420+"	if(drh.safari){		var tmp = dua.split("AppleWebKit/")[1];		var ver = parseFloat(tmp.split(" ")[0]);		if(ver >= 420){			drs.capable = t;			drs.support.builtin = t;			drs.support.plugin = f;		}	}})();
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js.uncompressed.js/buggy/www/resources/dojo-ajax/dojo.js.uncompressed.js