Skip to content

Added JSX files to process#5

Open
sirJeo wants to merge 2 commits intoMacmee:masterfrom
sirJeo:master
Open

Added JSX files to process#5
sirJeo wants to merge 2 commits intoMacmee:masterfrom
sirJeo:master

Conversation

@sirJeo
Copy link

@sirJeo sirJeo commented May 4, 2017

It will be useful to people who use .jsx format as well as .js

index.js Outdated
var hook = require('node-hook');

hook.hook('.js', (src, name) => {
const hookFn = (src, name) => {
Copy link
Owner

Choose a reason for hiding this comment

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

hey, great change! Do you mind switching this to var just to be consistent?

Copy link
Author

Choose a reason for hiding this comment

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

done

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