Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
2a1f8ad3
Commit
2a1f8ad3
authored
Mar 03, 2017
by
Tim Neutkens
Committed by
Guillermo Rauch
Mar 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linting errors in standard 9.0 (#1333)
* Fix linting errors in standard 9.0 * Update lockfile
parent
a0b16e03
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
854 additions
and
832 deletions
+854
-832
index.js
examples/with-custom-babel-config/pages/index.js
+3
-0
on-demand-entry-handler.js
server/on-demand-entry-handler.js
+3
-3
yarn.lock
yarn.lock
+848
-829
No files found.
examples/with-custom-babel-config/pages/index.js
View file @
2a1f8ad3
...
@@ -27,10 +27,13 @@ export default class MyLuckNo extends React.Component {
...
@@ -27,10 +27,13 @@ export default class MyLuckNo extends React.Component {
// using babel-preset-stage-0
// using babel-preset-stage-0
const
message
=
do
{
const
message
=
do
{
if
(
randomNo
<
30
)
{
if
(
randomNo
<
30
)
{
// eslint-disable-next-line no-unused-expressions
'Do not give up. Try again.'
'Do not give up. Try again.'
}
else
if
(
randomNo
<
60
)
{
}
else
if
(
randomNo
<
60
)
{
// eslint-disable-next-line no-unused-expressions
'You are a lucky guy'
'You are a lucky guy'
}
else
{
}
else
{
// eslint-disable-next-line no-unused-expressions
'You are soooo lucky!'
'You are soooo lucky!'
}
}
}
}
...
...
server/on-demand-entry-handler.js
View file @
2a1f8ad3
...
@@ -5,9 +5,9 @@ import { parse } from 'url'
...
@@ -5,9 +5,9 @@ import { parse } from 'url'
import
resolvePath
from
'./resolve'
import
resolvePath
from
'./resolve'
import
touch
from
'touch'
import
touch
from
'touch'
const
ADDED
=
Symbol
()
const
ADDED
=
Symbol
(
'added'
)
const
BUILDING
=
Symbol
()
const
BUILDING
=
Symbol
(
'building'
)
const
BUILT
=
Symbol
()
const
BUILT
=
Symbol
(
'built'
)
export
default
function
onDemandEntryHandler
(
devMiddleware
,
compiler
,
{
export
default
function
onDemandEntryHandler
(
devMiddleware
,
compiler
,
{
dir
,
dir
,
...
...
yarn.lock
View file @
2a1f8ad3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment