Skip to content

Commit

Permalink
Accept 'application/ld+json' w/jquery document loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Apr 17, 2014
1 parent a205a41 commit 79ddc16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/jsonld.js
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,9 @@ jsonld.documentLoaders.jquery = function($, options) {
}
$.ajax({
url: url,
accepts: {
json: 'application/ld+json'
},
dataType: 'json',
crossDomain: true,
success: function(data, textStatus, jqXHR) {
Expand Down

0 comments on commit 79ddc16

Please sign in to comment.