Commit fe6686c3 authored by Maxime Chaillet's avatar Maxime Chaillet
Browse files

Fix warnings from jshint. Mimify. It fixes icat/doi-landing-page#63.

parent 8e90820c
Pipeline #7886 failed with stages
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -178,15 +178,15 @@ DOIController.prototype.getDataForGoogleSearch = function (doi) {
if (data) {
_this.view.addDOIMetadataToHead(data);
}
console.log("[GOOGLE SEARCH INDEXING] - No metadata recieved from datacite.")
console.log("[GOOGLE SEARCH INDEXING] - No metadata recieved from datacite.");
},
error: function (error) {
console.log("[GOOGLE SEARCH INDEXING] - Failed getting metadata from datacite.")
console.log("[GOOGLE SEARCH INDEXING] - Failed getting metadata from datacite.");
console.log(error.responseJSON);
}
})
});
}
}
};
/**
* Checks whether the requested doi prefix is an esrf prefix
......
......@@ -182,4 +182,4 @@ DOIView.prototype.addDOIMetadataToHead = function (data) {
.attr('type', 'application/ld+json')
.text(data)
.appendTo('head');
}
\ No newline at end of file
};
\ No newline at end of file
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