X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Fpolluted.php;fp=test%2Fpolluted.php;h=94f63d7f60088569aba4637f72545a3ffac148dc;hb=52fbe5d2a8441c9bca5c2b8b9fa8b2bc388a11c1;hp=0000000000000000000000000000000000000000;hpb=6bf51eea0489149c755f12007b585dc5521b46d3;p=jquery.git diff --git a/test/polluted.php b/test/polluted.php new file mode 100644 index 0000000..94f63d7 --- /dev/null +++ b/test/polluted.php @@ -0,0 +1,51 @@ +$ver ){ + if( !$ver ) + continue; + $include = "\n"; + if( $lib == 'prototype' ) // prototype must be included first + array_unshift( $includes, $include ); + else + array_push( $includes, $include ); + } + + $includes = implode( "\n", $includes ); + $suite = file_get_contents('index.html'); + echo str_replace( '', $includes, $suite ); + exit; + } +?> + + + + + + jQuery Test Suite + + + + +

jQuery Test Suite

+ +

Choose other libraries to include

+ +
+ $lib"; + $vers = scandir( "otherlibs/$lib"); + foreach( $vers as $ver ){ + if( $ver[0] != '.' ) + echo ""; + } + } + ?> + +
+ +