Skip to content

Commit

Permalink
Merge pull request #180 from Ontotext-AD/GDB-4249-add-RDFstar-download
Browse files Browse the repository at this point in the history
Gdb 4249 add RDF* download types
  • Loading branch information
desislava-hristova-ontotext authored Mar 19, 2020
2 parents dec0f0d + a40446c commit 32afe94
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench",
"version": "1.3.0-TR3",
"version": "1.3.0-TR4",
"description": "The web application for GraphDB APIs",
"scripts": {
"build": "webpack --config=webpack.config.prod.js",
Expand Down
8 changes: 7 additions & 1 deletion src/js/lib/yasr.bundled.js
Original file line number Diff line number Diff line change
Expand Up @@ -54866,12 +54866,18 @@ module.exports = {
'<li>' +
'<a class="format dropdown-item" data-accepts="text/turtle" href="#">Turtle</a>' +
'</li>' +
'<li>' +
'<a class="format dropdown-item" data-accepts="application/x-turtlestar" href="#">Turtle*</a>' +
'</li>' +
'<li>' +
'<a class="format dropdown-item" data-accepts="application/trix" href="#">TriX</a>' +
'</li>' +
'<li>' +
'<a class="format dropdown-item" data-accepts="application/x-trig" href="#">TriG</a>' +
'</li>' +
'<li>' +
'<a class="format dropdown-item" data-accepts="application/x-trigstar" href="#">TriG*</a>' +
'</li>' +
'<li>' +
'<a class="format dropdown-item" data-accepts="application/x-binary-rdf" href="#">Binary RDF</a>' +
'</li>' +
Expand Down Expand Up @@ -57132,7 +57138,7 @@ var getEntityHTML = function(binding, context) {
var oEl = getEntityHTML(binding.value['o'], context);
var tripleList = "<ul class='triple-list'><li>" + sEl + "</li><li>" + pEl + "</li><li>" + oEl + "</li></ul>";
var tripleString = getTripleString(yasr, binding, true);
var localHref = "resource?uri=" + encodeURIComponent(tripleString).replace(/'/g, "&#39;");
var localHref = "resource?triple=" + encodeURIComponent(tripleString).replace(/'/g, "&#39;");
var title = _.escape(tripleString);
var openLink = "<a title='" + title + "' class='triple-link' href='" + localHref + "'>" + _.escape("<<") + "</a>";
var closeLink = "<a title='" + title + "' class='triple-link triple-link-end' href='" + localHref + "'>" + _.escape(">>") + "</a>";
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/integration/sparql/sparql.menu.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('SPARQL screen validation', () => {
openDownloadAsMenu();

getDownloadAsFormatButtons()
.should('have.length', 10)
.should('have.length', 12)
.contains('JSON-LD')
.should('have.attr', 'data-accepts')
.and('include', 'application/ld+json')
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-cypress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench-tests",
"version": "1.3.0-TR3",
"version": "1.3.0-TR4",
"description": "Cypress tests for GraphDB workbench",
"scripts": {
"start": "cypress open",
Expand Down

0 comments on commit 32afe94

Please sign in to comment.