mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-11 03:10:34 +08:00
This commit replaces the use of `.compact()` with `.filter((item) => item != null)` across multiple JavaScript files in the codebase. Additionally, it introduces a new logging handler for a specific deprecation in the deprecation workflow. **Main Changes:** * Replaced `.compact()` with `.filter((item) => item != null)` to eliminate the Ember Array dependency and align with native JavaScript practices. * Deprecation Workflow: Added a log handler for discourse.native-array-extensions.compact. |
||
|---|---|---|
| .. | ||
| javascripts/discourse | ||
| stylesheets | ||