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

[minor] add unbundledJS option #448

Merged
merged 2 commits into from
Jun 30, 2017
Merged

[minor] add unbundledJS option #448

merged 2 commits into from
Jun 30, 2017

Conversation

jchip
Copy link
Member

@jchip jchip commented Jun 30, 2017

No description provided.

```
npm install electrode-react-webapp --save
```
npm install electrode-react-webapp --save
Copy link
Contributor

@didi0613 didi0613 Jun 30, 2017

Choose a reason for hiding this comment

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

```bash
npm install electrode-react-webapp --save

app[method.toLowerCase()](path, (request, response) => { //eslint-disable-line
const handleStatus = (data) => {
app[method.toLowerCase()](path, (request, response) => {
//eslint-disable-line
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this eslint-disable-line for?

app.use(koaRouter.routes());
})
.then(() => next())
.catch(next);
};
Copy link
Contributor

@didi0613 didi0613 Jun 30, 2017

Choose a reason for hiding this comment

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

Need to add /* eslint-enable */ back at the end of the file?
In according to changes in line 3

Copy link
Member Author

Choose a reason for hiding this comment

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

that's to disable a single rule for the entire file.

@didi0613
Copy link
Contributor

👍 LGTM

@didi0613 didi0613 merged commit f628634 into electrode-io:master Jun 30, 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.

2 participants