Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
47 lines
597 B
INI
47 lines
597 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 180
|
|
quote_type = single
|
|
|
|
[test/*]
|
|
max_line_length = off
|
|
|
|
[LICENSE.md]
|
|
indent_size = off
|
|
|
|
[*.md]
|
|
max_line_length = off
|
|
|
|
[*.json]
|
|
max_line_length = off
|
|
|
|
[Makefile]
|
|
max_line_length = off
|
|
|
|
[CHANGELOG.md]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[LICENSE]
|
|
indent_size = 2
|
|
max_line_length = off
|
|
|
|
[coverage/**/*]
|
|
indent_size = off
|
|
indent_style = off
|
|
indent = off
|
|
max_line_length = off
|
|
|
|
[.nycrc]
|
|
indent_style = tab
|
|
|
|
[tea.yaml]
|
|
indent_size = 2
|