Skip to content

Commit 59c54c0

Browse files
committed
WA-5983: Removed console.log and adde override annotations
1 parent e3a60b0 commit 59c54c0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

web-author-react-form-control/js/StepperEnhancer.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ function StepperEnhancer(element, editingSupport) {
1414
goog.inherits(StepperEnhancer, sync.formctrls.Enhancer);
1515

1616
StepperEnhancer.prototype.switchToEditMode = function() {
17-
console.log('here')
1817
let parentNode = this.getParentNode();
1918
let selectionManager = this.editingSupport.getSelectionManager();
2019
let selection = selectionManager.createEmptySelectionInNode(parentNode, 'before');
2120

22-
2321
this.editingSupport.getActionsManager().invokeOperation('SetPseudoClassOperation', {
2422
name: 'raw-edit'
2523
}, null, selection);
@@ -37,6 +35,7 @@ StepperEnhancer.prototype.showChild = function(index, prevIndex) {
3735
htmlElement.removeAttribute('data-pseudoclass-show-child-' + prevIndex);
3836
}
3937

38+
/** @override */
4039
StepperEnhancer.prototype.enterDocument = function() {
4140
this.formControl.style.width = '100%';
4241
this.formControl.style.display = 'block';
@@ -57,8 +56,10 @@ StepperEnhancer.prototype.enterDocument = function() {
5756
</ThemeProvider>,
5857
);
5958
}
59+
60+
/** @override */
6061
StepperEnhancer.prototype.exitDocument = function() {
6162
this.root.unmount();
6263
}
6364

64-
export default StepperEnhancer;
65+
export default StepperEnhancer;

0 commit comments

Comments
 (0)