includes/clientside/jsres.php
changeset 587 705ed7162315
parent 586 234ddd896555
child 588 20484deb89cd
equal deleted inserted replaced
586:234ddd896555 587:705ed7162315
   117   }
   117   }
   118 }
   118 }
   119 
   119 
   120 // Output format will always be JS
   120 // Output format will always be JS
   121 header('Content-type: text/javascript');
   121 header('Content-type: text/javascript');
   122 $everything = "/* The code represented in this file is compressed for optimization purposes. The full source code is available in " . scriptPath . "/includes/clientside/static. */\n\nvar ENANO_JSRES_COMPRESSED = true;\n\n";
   122 $everything = "/* The code represented in this file is compressed for optimization purposes. The full source code is available in includes/clientside/static/. */\n\nvar ENANO_JSRES_COMPRESSED = true;\n\n";
   123 
   123 
   124 // if we only want the tiny version of the API (just enough to get by until the full one is loaded), send that
   124 // if we only want the tiny version of the API (just enough to get by until the full one is loaded), send that
   125 // with a simple ETag and far future expires header
   125 // with a simple ETag and far future expires header
   126 if ( isset($_GET['early']) )
   126 if ( isset($_GET['early']) )
   127 {
   127 {