Skip to content

Commit

Permalink
Not testing his code properly makes Julian a silly coder.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaubourg committed Mar 7, 2012
1 parent 318d47b commit 014b2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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;

Expand Down

0 comments on commit 014b2a5

Please sign in to comment.