Esanders has uploaded a new change for review. https://gerrit.wikimedia.org/r/117217
Change subject: Use en-us spelling 'focused' ...................................................................... Use en-us spelling 'focused' So that we're consistently wrong. Change-Id: Ia3d37a4840b69e68c7fffb2b65f2613a17e35af5 --- M modules/ve/ce/styles/ve.ce.Node.css M modules/ve/ce/ve.ce.BranchNode.js M modules/ve/ce/ve.ce.SurfaceObserver.js M modules/ve/init/ve.init.Target.js 4 files changed, 9 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor refs/changes/17/117217/1 diff --git a/modules/ve/ce/styles/ve.ce.Node.css b/modules/ve/ce/styles/ve.ce.Node.css index 9eef2f0..71c99a5 100644 --- a/modules/ve/ce/styles/ve.ce.Node.css +++ b/modules/ve/ce/styles/ve.ce.Node.css @@ -211,7 +211,7 @@ /* ve.ce.BranchNode */ -.ve-ce-branchNode-blockSlugWrapper-unfocussed { +.ve-ce-branchNode-blockSlugWrapper-unfocused { margin: 0 0 -0.2em 0; } @@ -224,12 +224,12 @@ transition: outline-color 400ms ease-out, background-color 400ms ease-out; } -.ve-ce-branchNode-blockSlugWrapper-unfocussed:hover { +.ve-ce-branchNode-blockSlugWrapper-unfocused:hover { outline-color: #bbb; background-color: rgba(0, 0, 0, 0.035); } -.ve-ce-branchNode-blockSlugWrapper-unfocussed .ve-ce-branchNode-blockSlug { +.ve-ce-branchNode-blockSlugWrapper-unfocused .ve-ce-branchNode-blockSlug { font-size: 0.8em; margin: 0.2em 0; } diff --git a/modules/ve/ce/ve.ce.BranchNode.js b/modules/ve/ce/ve.ce.BranchNode.js index 8d207f2..3c4222f 100644 --- a/modules/ve/ce/ve.ce.BranchNode.js +++ b/modules/ve/ce/ve.ce.BranchNode.js @@ -73,7 +73,7 @@ * @property {jQuery} */ ve.ce.BranchNode.$blockSlugTemplate = $( '<div>' ) - .addClass( 've-ce-branchNode-blockSlugWrapper ve-ce-branchNode-blockSlugWrapper-unfocussed' ) + .addClass( 've-ce-branchNode-blockSlugWrapper ve-ce-branchNode-blockSlugWrapper-unfocused' ) .append( $( '<p>' ) .addClass( 've-ce-branchNode-slug ve-ce-branchNode-blockSlug' ) diff --git a/modules/ve/ce/ve.ce.SurfaceObserver.js b/modules/ve/ce/ve.ce.SurfaceObserver.js index c3c2059..b5a3c6d 100644 --- a/modules/ve/ce/ve.ce.SurfaceObserver.js +++ b/modules/ve/ce/ve.ce.SurfaceObserver.js @@ -200,14 +200,14 @@ if ( inSlug && !this.$slugWrapper ) { this.$slugWrapper = $nodeOrSlug.closest( '.ve-ce-branchNode-blockSlugWrapper' ) - .addClass( 've-ce-branchNode-blockSlugWrapper-focussed' ) - .removeClass( 've-ce-branchNode-blockSlugWrapper-unfocussed' ); + .addClass( 've-ce-branchNode-blockSlugWrapper-focused' ) + .removeClass( 've-ce-branchNode-blockSlugWrapper-unfocused' ); } if ( !inSlug && this.$slugWrapper ) { this.$slugWrapper - .addClass( 've-ce-branchNode-blockSlugWrapper-unfocussed' ) - .removeClass( 've-ce-branchNode-blockSlugWrapper-focussed' ); + .addClass( 've-ce-branchNode-blockSlugWrapper-unfocused' ) + .removeClass( 've-ce-branchNode-blockSlugWrapper-focused' ); this.$slugWrapper = null; // If the surface focuses a node, emit a rerender after the animation completes setTimeout( function () { diff --git a/modules/ve/init/ve.init.Target.js b/modules/ve/init/ve.init.Target.js index b0d779d..f4c8785 100644 --- a/modules/ve/init/ve.init.Target.js +++ b/modules/ve/init/ve.init.Target.js @@ -65,7 +65,7 @@ /** * Fired when the #surface is ready. * - * By default the surface document is not focussed. If the target wants + * By default the surface document is not focused. If the target wants * the browsers' focus to be in the surface (ready for typing and cursoring) * call `this.$document[0].focus();` in a handler for this event. * -- To view, visit https://gerrit.wikimedia.org/r/117217 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia3d37a4840b69e68c7fffb2b65f2613a17e35af5 Gerrit-PatchSet: 1 Gerrit-Project: VisualEditor/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits