Procházet zdrojové kódy

chore: update readme

tags/1.5.3
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ před 4 roky
committed by GitHub
rodič
revize
f59de5f11e
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 5 přidání a 6 odebrání
  1. +5
    -6
      README.md

+ 5
- 6
README.md Zobrazit soubor

@@ -39,7 +39,7 @@
#### Installation
* Install via [`npm`](https://www.npmjs.com/get-npm):

```console
```sh
$ npm install frappe-charts
```

@@ -91,11 +91,10 @@ const chart = new frappe.Chart("#chart", { // or a DOM element,
})
```

...or for es-modules:
```js

//replace new frappe.Chart() with new Chart()
const chart = new Chart("#chart", { // or a DOM element,
...or for es-modules (replace `new frappe.Chart()` with `new Chart()`):
```diff
- const chart = new frappe.Chart("#chart", {
+ const chart = new Chart("#chart", { // or a DOM element,
// new Chart() in case of ES6 module with above usage
title: "My Awesome Chart",
data: data,


Načítá se…
Zrušit
Uložit