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>
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"name": "text-table",
|
|
"version": "0.2.0",
|
|
"description": "borderless text tables with alignment",
|
|
"main": "index.js",
|
|
"devDependencies": {
|
|
"tap": "~0.4.0",
|
|
"tape": "~1.0.2",
|
|
"cli-color": "~0.2.3"
|
|
},
|
|
"scripts": {
|
|
"test": "tap test/*.js"
|
|
},
|
|
"testling" : {
|
|
"files" : "test/*.js",
|
|
"browsers" : [
|
|
"ie/6..latest",
|
|
"chrome/20..latest",
|
|
"firefox/10..latest",
|
|
"safari/latest",
|
|
"opera/11.0..latest",
|
|
"iphone/6", "ipad/6"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/substack/text-table.git"
|
|
},
|
|
"homepage": "https://github.com/substack/text-table",
|
|
"keywords": [
|
|
"text",
|
|
"table",
|
|
"align",
|
|
"ascii",
|
|
"rows",
|
|
"tabular"
|
|
],
|
|
"author": {
|
|
"name": "James Halliday",
|
|
"email": "mail@substack.net",
|
|
"url": "http://substack.net"
|
|
},
|
|
"license": "MIT"
|
|
}
|