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>
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "is-extendable",
|
|
"description": "Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"",
|
|
"version": "0.1.1",
|
|
"homepage": "https://github.com/jonschlinkert/is-extendable",
|
|
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
|
"repository": "jonschlinkert/is-extendable",
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/is-extendable/issues"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"main": "index.js",
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "*"
|
|
},
|
|
"keywords": [
|
|
"array",
|
|
"assign",
|
|
"check",
|
|
"date",
|
|
"extend",
|
|
"extensible",
|
|
"function",
|
|
"is",
|
|
"object",
|
|
"regex",
|
|
"test"
|
|
],
|
|
"verbiage": {
|
|
"related": {
|
|
"list": [
|
|
"isobject",
|
|
"is-plain-object",
|
|
"kind-of",
|
|
"is-extendable",
|
|
"is-equal-shallow",
|
|
"extend-shallow",
|
|
"assign-deep"
|
|
]
|
|
}
|
|
}
|
|
}
|