lib/glimmer/dsl/opal/shell_expression.rb in glimmer-dsl-opal-0.28.3 vs lib/glimmer/dsl/opal/shell_expression.rb in glimmer-dsl-opal-0.29.0
- old
+ new
@@ -21,15 +21,15 @@
CustomWidgetExpression.new.interpret(nil, custom_shell_keyword, *[parameters])
`history.pushState(#{parameters.reject {|k,v| k == 'custom_shell_handled'}}, document.title, #{"?#{Glimmer::UI::CustomShell.encoded_request_parameter_string.sub('&custom_shell_handled=true', '')}"})`
# just a placeholder that has an open method # TODO return an actual CustomShell in the future that does the work happening above in the #open method
Glimmer::SWT::MakeShiftShellProxy.new
else
- Glimmer::SWT::ShellProxy.new(*args)
+ Glimmer::SWT::ShellProxy.new(args)
end
end
def add_content(parent, keyword, *args, &block)
- super(parent, &block)
+ super(parent, keyword, *args, &block)
parent.post_add_content
end
end
end
end