Skip to content

Commit

Permalink
Merge pull request #23 from nickbailey/master
Browse files Browse the repository at this point in the history
IE11 doesn't allow default function parameters
  • Loading branch information
rcpeters committed Mar 5, 2018
2 parents efea24e + 981294e commit 7eb975c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bibtexParse.js
Expand Up @@ -320,7 +320,8 @@
/* Increased the amount of white-space to make entries
* more attractive to humans. Pass compact as false
* to enable */
exports.toBibtex = function(json, compact=true) {
exports.toBibtex = function(json, compact) {
if (compact === undefined) compact = true;
var out = '';

var entrysep = ',';
Expand Down

0 comments on commit 7eb975c

Please sign in to comment.