toutpratique/js/jquery/jquery.noConflict.php
Thibault GUILLAUME 58a8203ae2 prestashop v1
2015-07-06 16:58:50 +02:00

4 lines
195 B
PHP

<?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);';