From 2fdd19efe8833f9e4d45ecc90083154fff3182be Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sun, 13 Nov 2011 20:41:09 -0800 Subject: [PATCH] setting browser html happens in show() --- src/atom/browser.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/atom/browser.coffee b/src/atom/browser.coffee index a964b1d11..a2a0ea03d 100644 --- a/src/atom/browser.coffee +++ b/src/atom/browser.coffee @@ -12,12 +12,12 @@ class Browser extends Resource return false if not /^https?:/.test url @url = url - - style = "width:100%;height:100%;background-color:#fff;border:none" - @html = "" - @show() true + show: -> + style = "width:100%;height:100%;background-color:#fff;border:none" + @html = "" + super