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>
30 lines
708 B
JSON
30 lines
708 B
JSON
{
|
|
"name": "run-con",
|
|
"version": "1.2.12",
|
|
"description": "hardwired configuration loader",
|
|
"main": "index.js",
|
|
"browser": "browser.js",
|
|
"scripts": {
|
|
"test": "node test/test.js && node test/ini.js && node test/nested-env-vars.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/goatandsheep/rc.git"
|
|
},
|
|
"license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
|
|
"keywords": [
|
|
"config",
|
|
"rc",
|
|
"unix",
|
|
"defaults"
|
|
],
|
|
"bin": "./cli.js",
|
|
"author": "Kemal Ahmed <goatandsheep@gmail.com>",
|
|
"dependencies": {
|
|
"deep-extend": "^0.6.0",
|
|
"ini": "~3.0.0",
|
|
"minimist": "^1.2.8",
|
|
"strip-json-comments": "~3.1.1"
|
|
}
|
|
}
|