includes/clientside/static/enano-lib-basic.js
changeset 1196 704ba4b9819b
parent 1178 57dfbd2a614d
child 1226 de56132c008d
equal deleted inserted replaced
1195:449fdd113eb0 1196:704ba4b9819b
   292   // get an XHR instance
   292   // get an XHR instance
   293   var ajax = ajaxMakeXHR();
   293   var ajax = ajaxMakeXHR();
   294   
   294   
   295   if ( !multiple )
   295   if ( !multiple )
   296     file = file + '.js';
   296     file = file + '.js';
   297   var uri = ( ENANO_JSRES_COMPRESSED ) ? scriptPath + '/includes/clientside/jsres.php?f=' + (multiple ? file_flat : file ) : scriptPath + '/includes/clientside/static/' + file;
   297   var uri = ( ENANO_JSRES_COMPRESSED ) ? scriptPath + '/includes/clientside/jsres.php?f=' + (multiple ? file_flat : file ) + '&' + enano_version : scriptPath + '/includes/clientside/static/' + file + '?' + enano_version;
   298   try
   298   try
   299   {
   299   {
   300     ajax.open('GET', uri, false);
   300     ajax.open('GET', uri, false);
   301     ajax.onreadystatechange = function()
   301     ajax.onreadystatechange = function()
   302     {
   302     {