Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Jan 1, 2025
1 parent fac8e3d commit a8f1eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpBlocklyJS/googlemap_20241226/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Blockly.JavaScript['googlemap_initial'] = function (block) {
var key = Blockly.JavaScript.valueToCode(block, 'key', Blockly.JavaScript.ORDER_ATOMIC)||"";
var statement = Blockly.JavaScript.statementToCode(block, 'statement');

var code = 'var url = "https://maps.googleapis.com/maps/api/js?key="+'+key+'+"&callback=initMap&v=weekly&libraries=marker&v=beta";\n'+
var code = 'var url = "https://maps.googleapis.com/maps/api/js?key="+'+key+'+"&callback=initMap&v=weekly&libraries=marker";\n'+
'var s = document.createElement("script");\n'+
's.async = true;\n'+
's.defer = true;\n'+
Expand Down

0 comments on commit a8f1eaf

Please sign in to comment.