mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Remove claim that good.string.quote should be used.
This commit is contained in:
@@ -143,7 +143,6 @@ Blockly.Lua.scrubNakedValue = function(line) {
|
||||
* @private
|
||||
*/
|
||||
Blockly.Lua.quote_ = function(string) {
|
||||
// TODO: This is a quick hack. Replace with goog.string.quote
|
||||
string = string.replace(/\\/g, '\\\\')
|
||||
.replace(/\n/g, '\\\n')
|
||||
.replace(/'/g, '\\\'');
|
||||
|
||||
Reference in New Issue
Block a user