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>
11 lines
509 B
JavaScript
11 lines
509 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.partition = void 0;
|
|
var not_1 = require("../util/not");
|
|
var filter_1 = require("../operators/filter");
|
|
var innerFrom_1 = require("./innerFrom");
|
|
function partition(source, predicate, thisArg) {
|
|
return [filter_1.filter(predicate, thisArg)(innerFrom_1.innerFrom(source)), filter_1.filter(not_1.not(predicate, thisArg))(innerFrom_1.innerFrom(source))];
|
|
}
|
|
exports.partition = partition;
|
|
//# sourceMappingURL=partition.js.map
|