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

javascript support #2

Closed
wants to merge 1 commit into from
Closed

javascript support #2

wants to merge 1 commit into from

Conversation

curist
Copy link
Contributor

@curist curist commented Jan 14, 2013

match following patterns:

// general function declartion
function foo () {
}

// bind to variable
var my_fun = function() {
};

// named closure
[].forEach(function bar() {
});

@tacahiroy
Copy link
Owner

Thanks! That has been merged at 54c5f47

@tacahiroy tacahiroy closed this Jan 14, 2013
@curist
Copy link
Contributor Author

curist commented Jan 14, 2013

I'm not sure if I take the meaning of filter right?
empty filters will get the same correct results though.

@tacahiroy
Copy link
Owner

ah - it might be bad naming filter.
Actually, filter will be applied each result line like this:

substitute(line, filter[0], filter[1], filter[2])

So you can do edit result lines using filter, remove preceding spaces or something like this.

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

Successfully merging this pull request may close these issues.

None yet

2 participants