mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Fix apostrophe in tooltips and helpurls (#1111)
This commit is contained in:
@@ -352,8 +352,8 @@ FactoryUtils.formatJavaScript_ = function(blockType, rootBlock, workspace) {
|
||||
|
||||
var tooltip = FactoryUtils.getTooltipFromRootBlock_(rootBlock);
|
||||
var helpUrl = FactoryUtils.getHelpUrlFromRootBlock_(rootBlock);
|
||||
code.push(" this.setTooltip('" + tooltip + "');");
|
||||
code.push(" this.setHelpUrl('" + helpUrl + "');");
|
||||
code.push(' this.setTooltip(' + JSON.stringify(tooltip) + ');');
|
||||
code.push(' this.setHelpUrl(' + JSON.stringify(helpUrl) + ');');
|
||||
code.push(' }');
|
||||
code.push('};');
|
||||
return code.join('\n');
|
||||
|
||||
Reference in New Issue
Block a user