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>
31 lines
753 B
JavaScript
31 lines
753 B
JavaScript
import syntax from './syntax/index.js';
|
|
|
|
export * from './version.js';
|
|
export { default as createSyntax } from './syntax/create.js';
|
|
export { List } from './utils/List.js';
|
|
export { Lexer } from './lexer/Lexer.js';
|
|
export { tokenTypes, tokenNames, TokenStream } from './tokenizer/index.js';
|
|
export * as definitionSyntax from './definition-syntax/index.js';
|
|
export { clone } from './utils/clone.js';
|
|
export * from './utils/names.js';
|
|
export * as ident from './utils/ident.js';
|
|
export * as string from './utils/string.js';
|
|
export * as url from './utils/url.js';
|
|
export const {
|
|
tokenize,
|
|
parse,
|
|
generate,
|
|
lexer,
|
|
createLexer,
|
|
|
|
walk,
|
|
find,
|
|
findLast,
|
|
findAll,
|
|
|
|
toPlainObject,
|
|
fromPlainObject,
|
|
|
|
fork
|
|
} = syntax;
|