csim.xul |
csim.js |
options.xul |
options.js |
about.xul |
consts.js |
screen.js |
platform.js |
csim.dtd |
csim.css |
b2a.c
var b2aBin = 'b2a_' + navigator.platform.replace(/\W/g, '-').replace(/i\d86/, 'i386').toLowerCase();
if (b2aBin.indexOf('win32') != -1) b2aBin += '.exe';
var fu = new FileUtils;
var tmpStr = fu.chromeToPath('chrome://csim/content');
tmpStr = 'file://' + tmpStr.substr(tmpStr.lastIndexOf('///') + 2);
var tmpDocStr = tmpStr.substring(0, tmpStr.lastIndexOf('content')) + '../cdoc';
tmpStr = fu.parent(fu.urlToPath(tmpStr));
var loca = {
natContent: tmpStr,
natRoot : tmpStr.substring(0, tmpStr.lastIndexOf('content') - 1),
urlDoc : tmpDocStr,
natBin : tmpStr.substring(0, tmpStr.lastIndexOf('content')) + 'bin'
}