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

Refactor and Minor Changes #42

Closed
wants to merge 3 commits into from
Closed

Refactor and Minor Changes #42

wants to merge 3 commits into from

Conversation

jesusgn90
Copy link
Contributor

Hi Angry Koala!

  • All refactored to more ES6 style.
  • Changed some if/else to cond ? .. : ..;
  • Added typeof .. === function for done callback

@angrykoala
Copy link
Owner

Please, do all pull requests against dev branch, you can check the contributing guidelines in the CONTRIBUTING.md file

@angrykoala
Copy link
Owner

PR cannot be merged due to some conflicts, resolve those conflicts with the dev branch please

README.md Outdated

var pkg=yerbamate.loadPackage(module);
let pkg = yerbamate.loadPackage(module);
Copy link
Owner

Choose a reason for hiding this comment

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

Is there a reason for this being a let instead of a const?

app/loader.js Outdated
else return moduleLoader(pmodule);
};

module.exports = Loader.main;
Copy link
Owner

Choose a reason for hiding this comment

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

Instead of adding a main method in the Loader, export the function directly

@jesusgn90
Copy link
Contributor Author

Ok, i created new PR to dev

@jesusgn90 jesusgn90 closed this Jul 9, 2017
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