roykin/js/jquery/jquery.noConflict.php
Thibault UBUNTU 3d7f60a05e push site
2016-03-03 10:33:17 +01:00

6 lines
202 B
PHP
Executable File

<?php
header('content-type: application/x-javascript');
if (preg_match('/^([0-9\.]+)$/Ui', $_GET['version'])) {
echo 'var $j'.str_replace('.', '', $_GET['version']).' = jQuery.noConflict(true);';
}