Skip to content

Commit 014b2a5

Browse files
committed
Not testing his code properly makes Julian a silly coder.
1 parent 318d47b commit 014b2a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/data/include_js.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
(function() {
22

3-
window.hasPHP = false /* <?php echo "*" + "/ || true /*"; ?> */;
3+
window.hasPHP = false /* <?php echo "*" . "/ || true /*"; ?> */;
44

55
if ( !window.top.jQueryIncludes ) {
66

77
window.top.jQueryIncludes = (function() {
88

99
var location = window.top.document.location.href,
10-
baseURL = location.replace( /\/test\/.+/, "/"),
10+
baseURL = location.replace( /\/test\/.*/, "/"),
1111
version = /(?:&|\?)jquery=([^&]+?)(?:$|&)/.exec( location ),
1212
includes, i;
1313

0 commit comments

Comments
 (0)