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 done
################################## ##################################
## FINISH LOCATIONS ## FINISH LOCATIONS
echo"}; echo "};
$('#sphere').earth3d({ \$('#sphere').earth3d({
locationsElement: $('#locations'), locationsElement: \$('#locations'),
dragElement: $('#locations'), dragElement: \$('#locations'),
locations: locations locations: locations
}); });
}; };
$(document).ready(function() { \$(document).ready(function() {
selectExample('locations'); selectExample('locations');
$('#example').change(function() { \$('#example').change(function() {
selectExample($(this).val()); selectExample(\$(this).val());
}); });
}); });
" >> ~/.zen/tmp/world.js " >> ~/.zen/tmp/world.js