Skip to content

Fixes Model fetchAll event documentation#1114

Merged
ricardograca merged 1 commit into
bookshelf:masterfrom
mikeharty:master
Jan 5, 2018
Merged

Fixes Model fetchAll event documentation#1114
ricardograca merged 1 commit into
bookshelf:masterfrom
mikeharty:master

Conversation

@mikeharty

Copy link
Copy Markdown

The fetching:collection and fetched:collection event tags have the event name wrapped in quotes. This is causing an issue in JSDoc which is preventing these events from being rendered in the menu and in the event detail blocks. This fixes that by removing the quotes and updating the JSDoc theme to use a more accurate regular expression for simplifying event names (bookshelf/bookshelf-jsdoc-theme#3).

@rhys-vdw

Copy link
Copy Markdown
Contributor

Hey, I added a comment over at bookshelf/bookshelf-jsdoc-theme#3. Sorry for the late response.

@ricardograca

Copy link
Copy Markdown
Member

I'm going to merge this because even with the default JSDoc theme the quotes break things. This change will require a new version of our own jsdoc theme.

@ricardograca
ricardograca merged commit 6576f41 into bookshelf:master Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants