escape du dollar !!! \$

This commit is contained in:
fred 2023-03-20 13:33:16 +01:00
parent f1ff2d4d20
commit 04c88a4af9
1 changed files with 7 additions and 7 deletions

View File

@ -149,19 +149,19 @@ do
done
##################################
## FINISH LOCATIONS
echo"};
$('#sphere').earth3d({
locationsElement: $('#locations'),
dragElement: $('#locations'),
echo "};
\$('#sphere').earth3d({
locationsElement: \$('#locations'),
dragElement: \$('#locations'),
locations: locations
});
};
$(document).ready(function() {
\$(document).ready(function() {
selectExample('locations');
$('#example').change(function() {
selectExample($(this).val());
\$('#example').change(function() {
selectExample(\$(this).val());
});
});
" >> ~/.zen/tmp/world.js