Skip to content

Commit bf4b0bf

Browse files
committed
Update JSDoc
1 parent c4e572c commit bf4b0bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/block-editor/src/utils/block-bindings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ export function hasPatternOverridesDefaultBinding( bindings ) {
7979
}
8080

8181
/**
82-
* Returns the bindings with the `__default` binding for pattern overrides
83-
* replaced with the full-set of supported attributes. e.g.:
82+
* Returns bindings with the `__default` binding replaced with the
83+
* full set of supported attributes. e.g.:
8484
*
8585
* - bindings passed in: `{ __default: { source: 'core/pattern-overrides' } }`
8686
* - bindings returned: `{ content: { source: 'core/pattern-overrides' } }`
8787
*
8888
* @param {string} blockName The block name (e.g. 'core/paragraph').
8989
* @param {?Record<string, object>} bindings A block's bindings from the metadata attribute.
9090
*
91-
* @return {Object} The bindings with default replaced for pattern overrides.
91+
* @return {Object} The bindings with default replaced by full set of supported attributes.
9292
*/
9393
export function replacePatternOverridesDefaultBinding( blockName, bindings ) {
9494
const supportedAttributes = BLOCK_BINDINGS_ALLOWED_BLOCKS[ blockName ];

0 commit comments

Comments
 (0)