Fixing review comments

This commit is contained in:
alschmiedt
2018-12-21 07:52:50 -08:00
parent d9c4608da8
commit 1b3955d9d6
13 changed files with 154 additions and 34 deletions

View File

@@ -119,6 +119,10 @@ Blockly.Options = function(options) {
} else {
var oneBasedIndex = !!options['oneBasedIndex'];
}
var style = options['style'];
if (style === undefined) {
style = Blockly.Styles.Classic;
}
this.RTL = rtl;
this.oneBasedIndex = oneBasedIndex;
@@ -140,6 +144,7 @@ Blockly.Options = function(options) {
this.gridOptions = Blockly.Options.parseGridOptions_(options);
this.zoomOptions = Blockly.Options.parseZoomOptions_(options);
this.toolboxPosition = toolboxPosition;
this.style = style;
};
/**