Skip to content

Commit

Permalink
📖 fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
prayerslayer committed Apr 1, 2017
1 parent 6f2851d commit 05bfdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ If you want to include it into a web page directly via `script`, please use the
<script src="./js.spec.bundle.js" charset="utf-8"></script>
<script type="text/javascript">
const {spec, valid} = window['js.spec']
const foo = spec.map({
const foo = spec.map("foo", {
name: spec.string
})
alert(valid(foo, {name: 'hugo'}))
Expand Down

0 comments on commit 05bfdac

Please sign in to comment.