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>
35 lines
705 B
JSON
35 lines
705 B
JSON
{
|
|
"name": "is-arrayish",
|
|
"description": "Determines if an object can be used as an array",
|
|
"version": "0.2.1",
|
|
"author": "Qix (http://github.com/qix-)",
|
|
"keywords": [
|
|
"is",
|
|
"array",
|
|
"duck",
|
|
"type",
|
|
"arrayish",
|
|
"similar",
|
|
"proto",
|
|
"prototype",
|
|
"type"
|
|
],
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"pretest": "xo",
|
|
"test": "mocha --compilers coffee:coffee-script/register"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/qix-/node-is-arrayish.git"
|
|
},
|
|
"devDependencies": {
|
|
"coffee-script": "^1.9.3",
|
|
"coveralls": "^2.11.2",
|
|
"istanbul": "^0.3.17",
|
|
"mocha": "^2.2.5",
|
|
"should": "^7.0.1",
|
|
"xo": "^0.6.1"
|
|
}
|
|
}
|