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

Small refactoring + error reporting #4

Merged
merged 1 commit into from
Jun 21, 2014
Merged

Small refactoring + error reporting #4

merged 1 commit into from
Jun 21, 2014

Conversation

MoOx
Copy link
Contributor

@MoOx MoOx commented Jun 20, 2014

Just a PR following my stupid
#3

I’ve refactored the code a little bit (& also use rework-visit which is
more bullet proof) like rework-vars.
I quickly refactor tests to make it more understandable.
I add some error reporting like we have in rework-vars.

Btw, maybe we can expand the use of balanced-match to rewrite other
parts of the plugin.

poke @necolas

@@ -1,24 +1,20 @@

/**
Copy link
Contributor

Choose a reason for hiding this comment

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

let's just remove this comment, doesn't belong in the source code

@MoOx
Copy link
Contributor Author

MoOx commented Jun 20, 2014

@necolas, thanks for the review, I'll check rework-vars updates & handle your comments tomorrow morning + release 0.3.0
Or maybe it's time to ship 1.0.0.

Just a PR following my stupid
#3

I’ve refactored the code a little bit (& also use rework-visit which is
more bullet proof) like rework-vars.
I quickly refactor tests to make it more understandable.
I add some error reporting like we have in rework-vars.

Btw, maybe we can expand the use of balanced-match to rewrite other
parts of the plugin.
MoOx added a commit that referenced this pull request Jun 21, 2014
Small refactoring + error reporting
@MoOx MoOx merged commit b23ad88 into master Jun 21, 2014
@MoOx MoOx deleted the refactoring branch June 21, 2014 05:24
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.

2 participants