Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/workout #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Feature/workout #17

wants to merge 5 commits into from

Conversation

rajgurung
Copy link
Owner

Check for style violation using Hound/Ci

= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets'
.col-xs-2.center_text
-#%h2.user_workout_input 12
= f.number_field :rep, class: 'user_workout_input center_text', placeholder: 'reps'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [89/80]

= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts'
.col-xs-2.center_text
-#%h2.user_workout_input 3
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [89/80]

%h2 12
.col-xs-2.center_text
-#%h2.user_workout_input 30
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [91/80]

-#%h2.user_workout_input 3
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets'
.col-xs-2.center_text
-#%h2.user_workout_input 12

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should have a space after the #

-#%h2.user_workout_input 30
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts'
.col-xs-2.center_text
-#%h2.user_workout_input 3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should have a space after the #

app/assets/stylesheets/user_workouts.scss Show resolved Hide resolved
app/assets/stylesheets/user_workouts.scss Show resolved Hide resolved
app/assets/stylesheets/user_workouts.scss Show resolved Hide resolved
app/assets/stylesheets/user_workouts.scss Show resolved Hide resolved
@@ -30,7 +30,7 @@ $ ->
$('#workout_grid').hide()
$('#workout_form').fadeIn( 500 )
#$('#new_user_workout').fadeIn( 500 )
$('#load_image').html( "<img src=\"" + w._image_url() + "\" width='90' height='90' />" ).addClass( "workout_image" )
$('#load_image').html( "<img src=\"" + w._image_url() + "\" width='100' height='100' />" ).addClass( "workout_image" )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line exceeds maximum allowed length. Length is 122, max is 80.

%h2 12
= f.hidden_field :workout_id, value: 1
.col-xs-2.center_text
-#%h2.user_workout_input 30

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should have a space after the #

= f.hidden_field :workout_id, value: 1
.col-xs-2.center_text
-#%h2.user_workout_input 30
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [91/80]

@@ -79,6 +80,8 @@ def user_workout_params
end

def _workout
foo = Hash.new

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use hash literal {} instead of Hash.new.

app/assets/javascripts/user_workouts.coffee Show resolved Hide resolved
Copy link
Collaborator

@ys00065 ys00065 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants