Commit 81297c07 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

lint index.html

parent d4a2ab10a447
......@@ -246,23 +246,23 @@
};
var defaultSparqlHandler = new SimpleSparqlAutocompleteAndListHandler(
$('#endpoint').text(),
{
semanticPostProcess : function(sparql) {
return semanticPostProcess(sparql);
}
},
null,
"rdfs:label",
);
defaultSparqlHandler.listOrder="count";
$("#endpoint").text(),
{
semanticPostProcess: function (sparql) {
return semanticPostProcess(sparql);
},
},
null,
"rdfs:label"
);
defaultSparqlHandler.listOrder = "count";
// list order is alphabetical by default
var rangeBasedHandler = new RangeBasedAutocompleteAndListHandler(
defaultSparqlHandler,
{
"http://rcfexpense.logilab.fr/Period" : defaultSparqlHandler,
"http://rcfexpense.logilab.fr/Register" : defaultSparqlHandler
"http://rcfexpense.logilab.fr/Period": defaultSparqlHandler,
"http://rcfexpense.logilab.fr/Register": defaultSparqlHandler,
}
);
sparnatural = $("#ui-search").Sparnatural({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment