Missed one use of string instead of .property in extensions.js

Esse commit está contido em:
RoboErikG
2017-08-04 11:26:31 -07:00
commit de GitHub
commit 06d70a4e9d
+1 -1
Ver Arquivo
@@ -211,7 +211,7 @@ Blockly.Extensions.checkMutatorDialog_ = function(object, errorPrefix) {
if (hasCompose && hasDecompose) {
if (typeof object.compose !== 'function') {
throw new Error(errorPrefix + 'compose must be a function.');
} else if (typeof object['decompose'] !== 'function') {
} else if (typeof object.decompose !== 'function') {
throw new Error(errorPrefix + 'decompose must be a function.');
}
return true;