aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-03-07 11:58:18 +0100
committerjaubourg <j@ubourg.net>2012-03-07 11:58:18 +0100
commit014b2a57007c4fd2bc85397f83fe36eec88aa975 (patch)
treece640cfdc38ea0b2c77b045dc199551e8b73f312
parent318d47b730769f538dbc24800b9ad67ff8e73ea9 (diff)
downloadjquery-014b2a57007c4fd2bc85397f83fe36eec88aa975.tar.gz
jquery-014b2a57007c4fd2bc85397f83fe36eec88aa975.zip
Not testing his code properly makes Julian a silly coder.
-rw-r--r--test/data/include_js.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/data/include_js.php b/test/data/include_js.php
index 1e12588eb..ee9c71a5d 100644
--- a/test/data/include_js.php
+++ b/test/data/include_js.php
@@ -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;