Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:antoniogarrote/sparql-clj-v8-inte…

…gration

Conflicts:
	clj-sparql-test/sparql_parser.js
  • Loading branch information...
commit 24acddf016a869294da300d001f5d7ba835fb53d 2 parents 5552eaa + c08c015
@antoniogarrote authored
Showing with 611 additions and 597 deletions.
  1. +7 −1 clj-sparql-test/sparql_parser.js
  2. +604 −596 js/sparql_parser.js
View
8 clj-sparql-test/sparql_parser.js
@@ -13597,5 +13597,11 @@ sparql_parser = (function(){
})();
sparql_query = function(query) {
- return JSON.stringify(sparql_parser.parse(query));
+ var result = "";
+ try{
+ result = JSON.stringify(sparql_parser.parse(query));
+ } catch (err) {
+ result = err.message;
+ }
+ return result;
};
View
1,200 js/sparql_parser.js
604 additions, 596 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.