remove logging

This commit is contained in:
Christopher Olah
2017-01-13 13:12:47 -08:00
parent 7e03641e08
commit 42fd20f2ac
3 changed files with 1 additions and 5 deletions
-2
View File
@@ -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"){
-2
View File
@@ -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"){
+1 -1
View File
File diff suppressed because one or more lines are too long