Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Minor fixes and improvements after the refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Jul 4, 2017
1 parent 6ddda9d commit c1c8d86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export default class View {
}

/**
f * Destroys the view instance and child views located in {@link #_viewCollections}.
* Destroys the view instance and child views located in {@link #_viewCollections}.
*/
destroy() {
this.stopListening();
Expand Down
4 changes: 2 additions & 2 deletions tests/toolbar/contextual/contextualtoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ describe( 'ContextualToolbar', () => {
beforeEach( () => {
setData( editor.document, '<paragraph>[bar]</paragraph>' );

showPanelSpy = sandbox.stub( contextualToolbar, '_showPanel', () => {} );
hidePanelSpy = sandbox.stub( contextualToolbar, '_hidePanel', () => {} );
showPanelSpy = sandbox.spy( contextualToolbar, '_showPanel' );
hidePanelSpy = sandbox.spy( contextualToolbar, '_hidePanel' );
} );

it( 'should open when selection stops changing', () => {
Expand Down

0 comments on commit c1c8d86

Please sign in to comment.