You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure, but I think there might be a race condition when loading helpers (default and custom/overrides). My exact use case is the following:
create a custom helper override (e.g. linkify)
run the jsdoc-to-markdown with the necessary parameters
Occasionally the default helpers is used instead of the override. Not sure whether I should post this here or in jsdoc-to-markdown, but seeing that it concerns a dmd helper I decide this would be a better place.
The text was updated successfully, but these errors were encountered:
vdininski
changed the title
Overriding default helpers not always works
Overriding default helpers does not always work
Feb 13, 2015
What I am doing is simply creating and loading a helper named linkify and using it in a custom template. Then I am expecting to see the value processed by my helper. However occasionally the value from the original helper is displayed.
i just upgraded the way overriding helpers works.. i have been testing and i can't reproduce this with the latest code..
i added this linker override (notice the helper file structure has changed, now it's just a standard module). If you pull the latest code and run this in your dmd fork, you should see the output from the overridden helper:
Not sure, but I think there might be a race condition when loading helpers (default and custom/overrides). My exact use case is the following:
jsdoc-to-markdown
with the necessary parametersOccasionally the default helpers is used instead of the override. Not sure whether I should post this here or in
jsdoc-to-markdown
, but seeing that it concerns a dmd helper I decide this would be a better place.The text was updated successfully, but these errors were encountered: