Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aomran committed Jul 17, 2017
1 parent 05a817f commit d0a491f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/micromachine.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2 id="initial-state-">Initial State:</h2>
<div class="pilwrap ">
<a class="pilcrow" href="#section-3">&#182;</a>
</div>
<pre><code><span class="hljs-keyword">import</span> MicroMachine <span class="hljs-keyword">from</span> <span class="hljs-string">'micromachinejs'</span>;
<pre><code><span class="hljs-keyword">const</span> MicroMachine = <span class="hljs-built_in">require</span>(<span class="hljs-string">'micromachinejs'</span>);
<span class="hljs-keyword">const</span> initialState = <span class="hljs-string">'unsubmitted'</span>;
<span class="hljs-keyword">const</span> fsm = <span class="hljs-keyword">new</span> MicroMachine(initialState);
</code></pre>
Expand Down Expand Up @@ -327,7 +327,7 @@ <h2 id="helper-functions">Helper functions</h2>
}
}

<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> MicroMachine;</pre></div></div>
<span class="hljs-built_in">module</span>.exports = MicroMachine;</pre></div></div>

</li>

Expand Down

0 comments on commit d0a491f

Please sign in to comment.