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>
28 lines
483 B
INI
28 lines
483 B
INI
|
|
# EditorConfig defines and maintains consistent coding styles between different
|
|
# editors and IDEs: http://EditorConfig.org/
|
|
# Top-most EditorConfig file
|
|
root = true
|
|
|
|
# All files
|
|
[*.*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
max_line_length = 80
|
|
|
|
[*.md]
|
|
indent_size = 2
|
|
|
|
[*.json]
|
|
indent_size = 2
|
|
|
|
[*.{yaml,yml}]
|
|
indent_size = 2
|
|
|
|
[vendor/grunt-template-jasmine-requirejs/**/*]
|
|
indent_size = 2
|