Skip to content

Conversation

santosh1994
Copy link
Contributor

@rahulcs @floydpraveen Please review
/cc @anantheshadiga

unbxdSearch.js Outdated
if(type === "facet_ranges")
return options.fn(this);
else
return options.inverse(this);

Choose a reason for hiding this comment

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

Expected '{' and instead saw 'return'.

unbxdSearch.js Outdated
@@ -348,6 +348,13 @@ var unbxdSearchInit = function(jQuery, Handlebars){
return txt.trim().length > 0 ? txt : "   ";
});

Handlebars.registerHelper("isRangeFacet", function(type, options){
if(type === "facet_ranges")
return options.fn(this);

Choose a reason for hiding this comment

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

Expected '{' and instead saw 'return'.

@santosh1994 santosh1994 force-pushed the facet-positioning branch 2 times, most recently from bd2ef60 to b41e621 Compare January 20, 2017 10:04
isSorted = true;
//apply facet
facetElement.click();
var sortedFacets = this.spyOnFacetTemp.args[0][0].sortedFacets;

Choose a reason for hiding this comment

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

'sortedFacets' is already defined.

document.body.innerHTML = __html__['index.html'];

var searchConfig = jQuery.extend({}, window.config);
searchConfig.facetTemp = function(sortedFacets){};

Choose a reason for hiding this comment

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

'sortedFacets' is defined but never used.

@santosh1994 santosh1994 force-pushed the facet-positioning branch 3 times, most recently from da95590 to d5edc06 Compare January 30, 2017 12:23
@santosh1994
Copy link
Contributor Author

@praveen612 Please review. we can add this express demo if required.
https://unbxddev.atlassian.net/browse/CP-119
However to release any features in js-sdk or any js-libraries we this guide lines to be followed
https://unbxddev.atlassian.net/browse/PT-48

/cc @anantheshadiga

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.

2 participants