Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TASK: Fusion clean up the usages how
@process
adds css classes.
with: neos/flow-development-collection#2710 we can add any scalar types to Array.push as base, which will be auto casted to an array: `Array.push("foo", "bar")` which results in -> `["foo", "bar"]` which is rendered as `foo bar` previously we had to cast it to an array beforehand. I integrated this for the 'neos-contentcollection' once: neos/neos-development-collection#3438 - but this cleans the manual cast up. (this also fixes any real low level css class adding via `Type.isString()` etc by just casting to an array and then pushing the new value.) Also the last use of copy will be removed, by manually copying the (now little) code over. fixes: neos/neos-development-collection#3588
- Loading branch information
Showing
3 changed files
with
6 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters