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>
30 lines
859 B
JSON
30 lines
859 B
JSON
{
|
|
"name": "ee-first",
|
|
"description": "return the first event in a set of ee/event pairs",
|
|
"version": "1.1.1",
|
|
"author": {
|
|
"name": "Jonathan Ong",
|
|
"email": "me@jongleberry.com",
|
|
"url": "http://jongleberry.com",
|
|
"twitter": "https://twitter.com/jongleberry"
|
|
},
|
|
"contributors": [
|
|
"Douglas Christopher Wilson <doug@somethingdoug.com>"
|
|
],
|
|
"license": "MIT",
|
|
"repository": "jonathanong/ee-first",
|
|
"devDependencies": {
|
|
"istanbul": "0.3.9",
|
|
"mocha": "2.2.5"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"test": "mocha --reporter spec --bail --check-leaks test/",
|
|
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
|
|
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
|
|
}
|
|
}
|