Skip to content

Commit 7e79a70

Browse files
committed
unexpected render (rollback rails webpacker) cleanup debug logs statements
1 parent 2ac6512 commit 7e79a70

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

ruby/hyperstack-config/lib/hyperstack/imports.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ def import_tree(value, cancelled: nil, client_only: nil, server_only: nil)
4141

4242
def cancel_import(value)
4343
return unless value
44-
puts "cancel_import: #{value}"
4544
current_spec = import_list.detect { |old_value, *_rest| value == old_value }
46-
pp current_spec
4745
if current_spec
4846
current_spec[1] = true
4947
else

ruby/hyperstack-config/lib/hyperstack/js_imports.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ class << self
33
def js_import(value, client_only: nil, server_only: nil, defines:)
44
defines = [*defines]
55
if RUBY_ENGINE != 'opal'
6-
puts "server js_import #{value}"
76
import(value, client_only: client_only, server_only: server_only, js_import: true)
87
else
98
on_server = `typeof Opal.global.document === 'undefined'`
109
return if (server_only && !on_server) || (client_only && on_server)
11-
puts "client js_import #{value}"
1210
defines.each do |name|
13-
puts "#{name}" #": #{`Opal.global[#{name}]`}"
1411
next unless `Opal.global['#{name}'] === undefined`
1512
raise "The package #{name} was not found. Add it to the webpack "\
1613
"#{client_only ? 'client_only.js' : 'client_and_server.js'} manifest."

0 commit comments

Comments
 (0)