]> source.dussan.org Git - jquery.git/commitdiff
Not testing his code properly makes Julian a silly coder.
authorjaubourg <j@ubourg.net>
Wed, 7 Mar 2012 10:58:18 +0000 (11:58 +0100)
committerjaubourg <j@ubourg.net>
Wed, 7 Mar 2012 10:58:18 +0000 (11:58 +0100)
test/data/include_js.php

index 1e12588ebda97fa5929ee4d027668d7d74f79198..ee9c71a5d8cb141198a210b3cf18458de8b243fe 100644 (file)
@@ -1,13 +1,13 @@
 (function() {
 
-window.hasPHP = false /* <?php echo "*" + "/ || true /*"; ?> */;
+window.hasPHP = false /* <?php echo "*" . "/ || true /*"; ?> */;
 
 if ( !window.top.jQueryIncludes ) {
        
        window.top.jQueryIncludes = (function() {
        
                var location = window.top.document.location.href,
-                       baseURL = location.replace( /\/test\/.+/, "/"),
+                       baseURL = location.replace( /\/test\/.*/, "/"),
                        version = /(?:&|\?)jquery=([^&]+?)(?:$|&)/.exec( location ),
                        includes, i;