Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 83fbdaf

Browse files
rubocop --only Layout/EmptyLines -a
1 parent e5bbe14 commit 83fbdaf

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

‎Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ namespace :ujs do
5757
yarn_run_in('react_ujs', 'upgrade')
5858
end
5959

60-
6160
desc 'Build the JS bundles with Webpack'
6261
task :build do
6362
yarn_run_in('react_ujs', 'build')

‎lib/react/jsx/jsx_transformer.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def initialize(options)
1818
@context = ExecJS.compile(js_code)
1919
end
2020

21-
2221
def transform(code)
2322
result = @context.call('JSXTransformer.transform', code, @transform_options)
2423
result['code']

‎lib/react/rails/controller_lifecycle.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def per_request_react_rails_prerenderer
4444
end
4545
end
4646

47-
4847
# An instance of a server renderer, for use during this request
4948
def react_rails_prerenderer
5049
@__react_rails_prerenderer

‎test/react/rails/react_rails_ujs_test.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def refute_greeting(page, greeting)
8888
wait_for_turbolinks_to_be_available
8989
assert_greeting(page, 'Hello Alice')
9090

91-
9291
page.execute_script('Turbolinks.visit("/pages/1");')
9392
wait_for_turbolinks_to_be_available
9493
assert_greeting(page, 'Hello Bob')
@@ -138,7 +137,6 @@ def refute_greeting(page, greeting)
138137
assert page.has_content?('Another Component'), page.body
139138
end
140139

141-
142140
test 'react_ujs can unmount/mount using a dom node context' do
143141
visit '/pages/1'
144142
assert_greeting(page, 'Hello Bob')

‎test/react/rails/view_helper_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class ViewHelperTest < ActionView::TestCase
3939
assert_equal expected_html.strip, rendered_html
4040
end
4141

42-
4342
test 'view helper uses the implementation class set in the initializer' do
4443
assert_equal(
4544
React::Rails::ViewHelper.helper_implementation_class.to_s,

‎test/test_helper.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# Configure Rails Environment
2424
ENV['RAILS_ENV'] = 'test'
2525

26-
2726
require File.expand_path("../#{DUMMY_LOCATION}/config/environment.rb", __FILE__)
2827
require 'rails/test_help'
2928
require 'rails/generators'
@@ -50,7 +49,6 @@
5049
Capybara.javascript_driver = :poltergeist_debug
5150
Capybara.current_driver = Capybara.javascript_driver
5251

53-
5452
CACHE_PATH = Pathname.new File.expand_path("../#{DUMMY_LOCATION}/tmp/cache", __FILE__)
5553

5654
Rails.backtrace_cleaner.remove_silencers!

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /