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>
33 lines
844 B
Markdown
33 lines
844 B
Markdown
# Upper Case First
|
|
|
|
[![NPM version][npm-image]][npm-url]
|
|
[![NPM downloads][downloads-image]][downloads-url]
|
|
[![Bundle size][bundlephobia-image]][bundlephobia-url]
|
|
|
|
> Transforms the string with the first character in upper cased.
|
|
|
|
## Installation
|
|
|
|
```
|
|
npm install upper-case-first --save
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import { upperCaseFirst } from "upper-case-first";
|
|
|
|
upperCaseFirst("test"); //=> "Test"
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|
|
|
|
[npm-image]: https://img.shields.io/npm/v/upper-case-first.svg?style=flat
|
|
[npm-url]: https://npmjs.org/package/upper-case-first
|
|
[downloads-image]: https://img.shields.io/npm/dm/upper-case-first.svg?style=flat
|
|
[downloads-url]: https://npmjs.org/package/upper-case-first
|
|
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/upper-case-first.svg
|
|
[bundlephobia-url]: https://bundlephobia.com/result?p=upper-case-first
|