Skip to content

Commit f2cc8a0

Browse files
committed
more readme
1 parent 56ac675 commit f2cc8a0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ or the [minified version](https://github.com/jakesgordon/javascript-state-machin
1313

1414
# Usage
1515

16-
Include `state-machine.js` in your web application, or, for npm `require('javascript-state-machine')`.
16+
Include `state-machine.js` in your web application:
17+
18+
<script src='state-machine.js'></script>
19+
20+
Or for npm:
21+
22+
var StateMachine = require('javascript-state-machine');
1723

1824
In its simplest form, create a standalone state machine using:
1925

0 commit comments

Comments
 (0)