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

Fix for issue #282 #284

Closed
wants to merge 4 commits into from
Closed

Fix for issue #282 #284

wants to merge 4 commits into from

Conversation

nebehr
Copy link
Contributor

@nebehr nebehr commented Dec 22, 2014

No description provided.

@@ -99,12 +99,14 @@ var AstTreeWalker = function(features, supportCodeLibrary, listeners, strictMode

visitBeforeSteps: function visitBeforeSteps(callback) {
beforeSteps.forEach(function(beforeStep, callback) {
self.witnessNewStep();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though we'll just duplicate the method content, I'd like this to be another method. It is semantically incorrect to witness a new step here, what we just processed is a before hook. self.witnessHook() sounds good.

@nebehr
Copy link
Contributor Author

nebehr commented Dec 23, 2014

I thought about it but eventually went for the option that meant less new code. After all, hooks are still internally handled as hidden steps. However I am fine with witnessHook alternative.

@jbpros jbpros added this to the 0.5 major features milestone Dec 23, 2014
@jbpros
Copy link
Member

jbpros commented Feb 6, 2015

Merged in as 75822d8.
Thanks @nebehr.

@jbpros jbpros closed this Feb 6, 2015
@jbpros jbpros added the ready label Jul 3, 2015
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants