Commit fe6686c3 authored by Maxime Chaillet's avatar Maxime Chaillet

Fix warnings from jshint. Mimify. It fixes #63.

parent 8e90820c
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