Skip to content

Commit d7cf2e5

Browse files
committed
doc: update
1 parent 57ee4ee commit d7cf2e5

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ new Raty(document.querySelector('[data-raty]'), { starType: 'i' });
9090

9191
## Functions
9292

93-
To call some function, first save the Raty instance on a variable and then call the functions:
93+
To call some function, first, save the Raty instance on a variable and then call the functions:
9494

9595
```js
9696
var raty = new Raty(document.querySelector('[data-raty]'));
@@ -104,3 +104,15 @@ var raty = new Raty(document.querySelector('[data-raty]'));
104104
|`raty.readOnly(boolean)`|Change the read-only state. |
105105
|`raty.cancel(boolean)` |Cancel the rating. The last param force the click callback.|
106106
|`raty.move(number)` |Move the mouse to the given score point position. |
107+
108+
## Build
109+
110+
```sh
111+
gulp 'amd'
112+
gulp 'umd'
113+
gulp 'commonjs'
114+
gulp 'systemjs'
115+
gulp 'es6'
116+
gulp 'es5'
117+
gulp 'es5-test'
118+
```

0 commit comments

Comments
 (0)