mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-13 21:22:34 +08:00
Refactor array-clearing logic across the codebase by replacing `.clear()` with `.length = 0` for improved clarity and compatibility with standard JavaScript arrays. Updated relevant tests and utilities to ensure consistency. These changes align array management with modern JavaScript practices while preserving existing functionality. |
||
|---|---|---|
| .. | ||
| addon | ||
| app | ||
| .npmrc | ||
| ember-cli-build.js | ||
| index.js | ||
| package.json | ||