-
Notifications
You must be signed in to change notification settings - Fork 48
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
add blacklight advances search, blacklight date ranges and order already #1993
Conversation
…ady to the gem file and configure them
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
}; | ||
|
||
global.BlacklightRangeLimit = BlacklightRangeLimit; | ||
}(this); |
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.
Expected an assignment or function call and instead saw an expression.
app/assets/javascripts/blacklight_range_limit/range_limit_distro_facets.js
Outdated
Show resolved
Hide resolved
|
||
|
||
|
||
var min = max = BlacklightRangeLimit.parseNum(current_limit.find(".single").text()) |
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.
You might be leaking a variable (max) here.
app/assets/javascripts/blacklight_range_limit/range_limit_slider.js
Outdated
Show resolved
Hide resolved
|
||
if (plot && slider_el) { | ||
slider_el.width(plot.width()); | ||
slider_el.css("display", "block") |
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.
placeholder_input.slider("setValue", values); | ||
}); | ||
|
||
end_el.change( function() { |
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.
'end_el' used out of scope.
begin_el.val(min); | ||
end_el.val(max); | ||
|
||
begin_el.change( function() { |
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.
'begin_el' used out of scope.
} | ||
|
||
begin_el.val(min); | ||
end_el.val(max); |
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.
'end_el' used out of scope.
}); | ||
} | ||
|
||
begin_el.val(min); |
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.
'begin_el' used out of scope.
|
||
// Slider change should update text input values. | ||
var parent = $(this).parent(); | ||
var form = $(parent).closest(".limit_content").find("form.range_limit"); |
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.
'form' is already defined.
|
||
if (plot && slider_el) { | ||
slider_el.width(plot.width()); | ||
slider_el.css("display", "block") |
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.
app/assets/javascripts/blacklight_range_limit/range_limit_slider.js
Outdated
Show resolved
Hide resolved
The previous build revealed that admin_color_select.js was missing. It also complained about missing semicolons.
appease the hound by formatting js file with semicolons.
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); | ||
var x_ticks = new Array(); |
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.
The array literal notation [] is preferable.
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); | ||
var x_ticks = new Array(); |
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.
The array literal notation [] is preferable.
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); | ||
var x_ticks = new Array(); |
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.
The array literal notation [] is preferable.
Cause of build error. It's already being included in sass.
This commit will add additional setup to the catalog_controller_spec.
…mvera/hyku into blacklight_advanced_and_range
added with a different merge |
to the gem file and configure them