dom.setInterval not available on ScalaJS
<p>I'm following tutorial <a href="http://www.lihaoyi.com/hands-on-scala-js/#MakingaCanvasApp" rel="nofollow">http://www.lihaoyi.com/hands-on-scala-js/#MakingaCanvasApp</a> and it provides code : </p>

<pre><code>  dom.setInterval(() =&gt; run, 50)
</code></pre>

<p>But this causes a compiler error : </p>

<pre><code>object setInterval is not a member of package org.scalajs.dom  
</code></pre>

<p>How to set the interval on the dom ? It appears this method has been removed instead of deprecated ?</p>