From 4bef8cc329e9a7ba96f398ea100a6ec9916bc173 Mon Sep 17 00:00:00 2001 From: Sean Lip Date: Tue, 17 Jan 2017 13:32:33 -0800 Subject: [PATCH] Rename workspace-tree to workspace-block. --- ...ponent.js => workspace-block.component.js} | 22 +++++++++---------- accessible/workspace.component.js | 6 ++--- demos/accessible/index.html | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) rename accessible/{workspace-tree.component.js => workspace-block.component.js} (91%) diff --git a/accessible/workspace-tree.component.js b/accessible/workspace-block.component.js similarity index 91% rename from accessible/workspace-tree.component.js rename to accessible/workspace-block.component.js index 67fa04a90..7c8041d9d 100644 --- a/accessible/workspace-tree.component.js +++ b/accessible/workspace-block.component.js @@ -24,8 +24,8 @@ * @author madeeha@google.com (Madeeha Ghori) */ -blocklyApp.WorkspaceTreeComponent = ng.core.Component({ - selector: 'blockly-workspace-tree', +blocklyApp.WorkspaceBlockComponent = ng.core.Component({ + selector: 'blockly-workspace-block', template: `
  • - - + +
  • - - + + `, directives: [blocklyApp.FieldSegmentComponent, ng.core.forwardRef(function() { - return blocklyApp.WorkspaceTreeComponent; + return blocklyApp.WorkspaceBlockComponent; })], inputs: ['block', 'level', 'tree', 'isTopLevel'], pipes: [blocklyApp.TranslatePipe] diff --git a/accessible/workspace.component.js b/accessible/workspace.component.js index eae4491ed..ae0b1748c 100644 --- a/accessible/workspace.component.js +++ b/accessible/workspace.component.js @@ -37,8 +37,8 @@ blocklyApp.WorkspaceComponent = ng.core.Component({ [attr.aria-labelledby]="workspaceTitle.id" (keydown)="onKeypress($event, tree)" (focus)="speakLocation(i)"> - - + + @@ -55,7 +55,7 @@ blocklyApp.WorkspaceComponent = ng.core.Component({ `, - directives: [blocklyApp.WorkspaceTreeComponent], + directives: [blocklyApp.WorkspaceBlockComponent], pipes: [blocklyApp.TranslatePipe] }) .Class({ diff --git a/demos/accessible/index.html b/demos/accessible/index.html index 127628d41..9c07986b6 100644 --- a/demos/accessible/index.html +++ b/demos/accessible/index.html @@ -32,7 +32,7 @@ - +