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>
26 lines
683 B
JSON
26 lines
683 B
JSON
{
|
|
"name": "pseudomap",
|
|
"version": "1.0.2",
|
|
"description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
|
|
"main": "map.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"devDependencies": {
|
|
"tap": "^2.3.1"
|
|
},
|
|
"scripts": {
|
|
"test": "tap test/*.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/isaacs/pseudomap.git"
|
|
},
|
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/isaacs/pseudomap/issues"
|
|
},
|
|
"homepage": "https://github.com/isaacs/pseudomap#readme"
|
|
}
|