mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
Fix code demo in IE if Blockly is compiled harder.
Closure should not be used except within core.
This commit is contained in:
@@ -387,7 +387,7 @@ Code.init = function() {
|
||||
// TODO: Clean up the message files so this is done explicitly instead of
|
||||
// through this for-loop.
|
||||
for (var messageKey in MSG) {
|
||||
if (goog.string.startsWith(messageKey, 'cat')) {
|
||||
if (messageKey.indexOf('cat') == 0) {
|
||||
Blockly.Msg[messageKey.toUpperCase()] = MSG[messageKey];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user