lib/glimmer/swt/shell_proxy.rb in glimmer-dsl-opal-0.2.0 vs lib/glimmer/swt/shell_proxy.rb in glimmer-dsl-opal-0.3.0
- old
+ new
@@ -7,11 +7,11 @@
# TODO consider renaming to ShellProxy to match SWT API
attr_reader :minimum_size
WIDTH_MIN = 130
HEIGHT_MIN = 0
-
+
def initialize(args)
@args = args
@children = []
# Document.ready? do end # TODO consider embedding this jQuery call in so outside consumers don't have to use it
Document.find('body').empty unless ENV['RUBY_ENV'] == 'test'
@@ -236,9 +236,10 @@
}
}.to_s
end
def open
+ # TODO consider the idea of delaying rendering till the open method
# TODO make it start as hidden and show shell upon open
end
end
end
end