From 014b2a57007c4fd2bc85397f83fe36eec88aa975 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Wed, 7 Mar 2012 11:58:18 +0100 Subject: [PATCH] Not testing his code properly makes Julian a silly coder. --- test/data/include_js.php | 4 ++-- 1 file 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 /* */; +window.hasPHP = false /* */; 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; -- 2.39.5