Script dataType now supports ecmascript mimetypes.
[jquery.git] / test / data / script.php
1 <?php
2 error_reporting(0);
3 if ( $_REQUEST['header'] ) {
4         if ( $_REQUEST['header'] == "ecma" ) {
5                 header("Content-type: application/ecmascript");
6         } else {
7                 header("Content-type: text/javascript");
8         }
9 }
10 ?>
11 ok( true, "Script executed correctly." );