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>
32 lines
786 B
JSON
32 lines
786 B
JSON
{
|
|
"name": "isexe",
|
|
"version": "2.0.0",
|
|
"description": "Minimal module to check if a file is executable.",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"devDependencies": {
|
|
"mkdirp": "^0.5.1",
|
|
"rimraf": "^2.5.0",
|
|
"tap": "^10.3.0"
|
|
},
|
|
"scripts": {
|
|
"test": "tap test/*.js --100",
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"postpublish": "git push origin --all; git push origin --tags"
|
|
},
|
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
"license": "ISC",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/isaacs/isexe.git"
|
|
},
|
|
"keywords": [],
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/isexe/issues"
|
|
},
|
|
"homepage": "https://github.com/isaacs/isexe#readme"
|
|
}
|