On Sun, Dec 14, 2008 at 10:25:15PM +0000, Krzysztof B. Wicher wrote:
> It seems reasonable but still this code does not work as it should (latest
> build on OSX)
> 
> Shoes.app do
> s=stack :width=>100 do
> para "Hello"
> end
> para s.width
> s.width=100
> para s.width
> end

Okay, I'll probably have .width throw an error if it's accessed
before the first paint.

One thing about separating HTML from Javascript is that it makes
this kind of issue obvious.

  <div id="x">
    <script>
      document.write(document.getElementById('x'))
    </script>
  </div>

_why

Reply via email to