controller</code> property in components, use <code>oninit</code> instead.</p>
<h3 id="v02x5"><a href="#v02x5"><code>v0.2.x</code></a></h3>
<pre><code class="lang-javascript">m.mount(document.body, {
    controller : function() {
        var ctrl = this

        ctrl.fooga = 1
    },

    view : function(ctrl) {
        return m(&quot;p&quot;, ctrl.fooga)
    }
})
</code></pre>
<h3 id="v1x5"><a href="#v1x5"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">m.mount(document.body, {
    oninit : f