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>
17 lines
537 B
JavaScript
Executable File
17 lines
537 B
JavaScript
Executable File
import { SCHEMES } from "./uri";
|
|
import http from "./schemes/http";
|
|
SCHEMES[http.scheme] = http;
|
|
import https from "./schemes/https";
|
|
SCHEMES[https.scheme] = https;
|
|
import ws from "./schemes/ws";
|
|
SCHEMES[ws.scheme] = ws;
|
|
import wss from "./schemes/wss";
|
|
SCHEMES[wss.scheme] = wss;
|
|
import mailto from "./schemes/mailto";
|
|
SCHEMES[mailto.scheme] = mailto;
|
|
import urn from "./schemes/urn";
|
|
SCHEMES[urn.scheme] = urn;
|
|
import uuid from "./schemes/urn-uuid";
|
|
SCHEMES[uuid.scheme] = uuid;
|
|
export * from "./uri";
|
|
//# sourceMappingURL=index.js.map
|