space between if and (

This commit is contained in:
duzc2dtw@gmail.com
2017-12-13 17:02:34 +08:00
parent 26ea42c264
commit da429688f8

View File

@@ -74,7 +74,7 @@ Blockly.Extensions.register = function(name, initFn) {
* registered.
*/
Blockly.Extensions.registerMixin = function(name, mixinObj) {
if(!goog.isObject(mixinObj)){
if (!goog.isObject(mixinObj)){
throw new Error('Error: Mixin "' + name + '" must be a object');
}
Blockly.Extensions.register(name, function() {