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>
38 lines
859 B
JSON
38 lines
859 B
JSON
{
|
|
"name": "events",
|
|
"version": "3.3.0",
|
|
"description": "Node's event emitter for all engines.",
|
|
"keywords": [
|
|
"events",
|
|
"eventEmitter",
|
|
"eventDispatcher",
|
|
"listeners"
|
|
],
|
|
"author": "Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Gozala/events.git",
|
|
"web": "https://github.com/Gozala/events"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/Gozala/events/issues/"
|
|
},
|
|
"main": "./events.js",
|
|
"engines": {
|
|
"node": ">=0.8.x"
|
|
},
|
|
"devDependencies": {
|
|
"airtap": "^1.0.0",
|
|
"functions-have-names": "^1.2.1",
|
|
"has": "^1.0.3",
|
|
"has-symbols": "^1.0.1",
|
|
"isarray": "^2.0.5",
|
|
"tape": "^5.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "node tests/index.js",
|
|
"test:browsers": "airtap -- tests/index.js"
|
|
},
|
|
"license": "MIT"
|
|
}
|