From 71a0e50241c0e3b453727cc1b45447703a6d8374 Mon Sep 17 00:00:00 2001 From: Bhavin Vadgama <15mca052@nirmauni.ac.in> Date: Thu, 22 Aug 2019 15:50:21 +0530 Subject: [PATCH] Updated require statement Updated require statement as the module was not working --- src/getBibCodeFromObject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getBibCodeFromObject.js b/src/getBibCodeFromObject.js index 9071533..9723e6f 100644 --- a/src/getBibCodeFromObject.js +++ b/src/getBibCodeFromObject.js @@ -122,7 +122,7 @@ function fieldsAreOk(object) { // ========== All fields are ok ['entryType', 'key', 'data'] ========== // Now let's move to check for valid fields for any specific entry type const entryType = object.entryType; // Checks entry type etc. - const bibtex = require('./BibTeX'); + const bibtex = require('./BibTex'); const bib = new bibtex(); const entryTypeFields = bib.getSpecificEntryTypeFields(entryType); @@ -294,4 +294,4 @@ function fieldsAreOk(object) { } } ] -*/ \ No newline at end of file +*/