Fix extra category error. Clean up code, rename variables, reduce line lengths, fix lint issues.

This commit is contained in:
Sean Lip
2016-06-02 15:51:37 -07:00
parent 4e2d8f1310
commit e8a2d3e2fd
4 changed files with 100 additions and 66 deletions

View File

@@ -64,8 +64,8 @@ blocklyApp.WorkspaceView = ng.core
// The first is the text to display on the button, and the second is the
// function that gets run when the button is clicked.
this.toolbarButtonConfig =
ACCESSIBLE_GLOBALS && ACCESSIBLE_GLOBALS.toolbarButtonConfig ?
ACCESSIBLE_GLOBALS.toolbarButtonConfig : [];
ACCESSIBLE_GLOBALS && ACCESSIBLE_GLOBALS.toolbarButtonConfig ?
ACCESSIBLE_GLOBALS.toolbarButtonConfig : [];
this.stringMap = {
'WORKSPACE': Blockly.Msg.WORKSPACE,
'CLEAR_WORKSPACE': Blockly.Msg.CLEAR_WORKSPACE