-
Notifications
You must be signed in to change notification settings - Fork 244
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
Close #556. Catch null error when there are no common names #562
Conversation
@@ -66,6 +66,7 @@ var getUrlVar = function(key) { | |||
|
|||
var getIDFromURL = function(key) { | |||
var result = new RegExp(key + "/([0-9a-zA-Z\-]*)", "i").exec(window.location.pathname); | |||
console.log(result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
crops = Crop.search(q, | ||
limit: 25, | ||
partial: true, | ||
misspellings: {distance: 2}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space inside { missing.
Space inside } missing.
FactoryGirl.create(:detail_option, name: 'Potted', category: 'environment') | ||
FactoryGirl.create(:detail_option, name: 'Inside', category: 'environment') | ||
FactoryGirl.create(:detail_option, name: 'Inside', category: 'environment') | ||
outside = FactoryGirl.create(:detail_option, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless assignment to variable - outside
.
I will fix the hound errors in another PR. |
Close #556. Catch null error when there are no common names
What's Changed