Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'before' of undefined #28

Closed
adam3smith opened this issue Jan 22, 2017 · 4 comments
Closed

TypeError: Cannot read property 'before' of undefined #28

adam3smith opened this issue Jan 22, 2017 · 4 comments

Comments

@adam3smith
Copy link

When I run citeproc-js with node.js for the cslEditor, it throws the above error for a subset of styles, e.g. ambio.csl

This is starting at version 1.1.142 and is true for all versions since. 1.1.141 works fine

Any thoughts?

@fbennett
Copy link
Contributor

fbennett commented Feb 6, 2017

Able to reproduce this - and it looks like a crashing bug for production instances too. Ouch! Will get to work on a fix pronto.

@fbennett
Copy link
Contributor

fbennett commented Feb 6, 2017

A variable name was misspelled. Fix pushed, will be available via Propachi soon.

@fbennett fbennett closed this as completed Feb 6, 2017
@adam3smith
Copy link
Author

Thanks -- haven't tested this yet, but glad those 40,000+ citations I calculate every time I update the editor actually helped catch a bug.

@fbennett
Copy link
Contributor

fbennett commented Feb 6, 2017

They certainly saved a world of consternation on this occasion - literally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants