mirror of
https://github.com/wassname/template.git
synced 2026-06-27 21:54:12 +08:00
remove logging
This commit is contained in:
@@ -117,9 +117,7 @@ export default function(dom, data) {
|
||||
var url = ent.url;
|
||||
var arxiv_match = (/arxiv\.org\/abs\/([0-9\.]*)/).exec(url);
|
||||
if (arxiv_match != null){
|
||||
console.log(url);
|
||||
url = `http://arxiv.org/pdf/${arxiv_match[1]}.pdf`;
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
if (url.slice(-4) == ".pdf"){
|
||||
|
||||
Vendored
-2
@@ -6047,9 +6047,7 @@ var citation = function(dom, data) {
|
||||
var url = ent.url;
|
||||
var arxiv_match = (/arxiv\.org\/abs\/([0-9\.]*)/).exec(url);
|
||||
if (arxiv_match != null){
|
||||
console.log(url);
|
||||
url = "http://arxiv.org/pdf/" + (arxiv_match[1]) + ".pdf";
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
if (url.slice(-4) == ".pdf"){
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user