Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkae committed Sep 5, 2024
1 parent fab7468 commit 035a091
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/block-css/block-style-generator-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ export class BlockStyleGenerator {
this._orderedStyles = [] // This holds all the blockStyles added in order
}

addBlockStylesOldWay( blockStyles ) {
const attrName = blockStyles.attrName
if ( ! this._blockStyles[ attrName ] ) {
this._blockStyles[ attrName ] = [ blockStyles ]
}
}

/**
* Used to add block styles to the block style generator. The attribute name
* is important because it is used for looking which styles are generated
Expand Down

0 comments on commit 035a091

Please sign in to comment.