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>
24 lines
564 B
JSON
24 lines
564 B
JSON
{
|
|
"name": "requestidlecallback",
|
|
"version": "0.3.0",
|
|
"description": "A polyfill for the requestIdleCallback.",
|
|
"main": "index.js",
|
|
"filename": "index.js",
|
|
"author": "Alexander Farkas <info@corrupt-system.de>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:aFarkas/requestIdleCallback.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha-phantomjs test/index.html"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"chai": "^3.4.0",
|
|
"jshint": "^2.8.0",
|
|
"mocha": "^2.3.3",
|
|
"mocha-phantomjs": "^4.0.1",
|
|
"sinon": "^1.17.2"
|
|
}
|
|
}
|