Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(style): use 2 spaces for indentation
- Loading branch information
Showing
24 changed files
with
684 additions
and
688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
export default { | ||
presets: [ | ||
[ require.resolve('babel-preset-es2015'), { 'modules': false } ], | ||
require.resolve('babel-preset-react'), | ||
require.resolve('babel-preset-stage-1'), | ||
], | ||
plugins: [ | ||
require.resolve('babel-plugin-transform-runtime'), | ||
], | ||
env: { | ||
production: { | ||
plugins: [ | ||
require.resolve('babel-plugin-transform-react-constant-elements'), | ||
require.resolve('babel-plugin-transform-react-inline-elements'), | ||
] | ||
} | ||
presets: [ | ||
[ require.resolve('babel-preset-es2015'), { modules: false } ], | ||
require.resolve('babel-preset-react'), | ||
require.resolve('babel-preset-stage-1'), | ||
], | ||
plugins: [ | ||
require.resolve('babel-plugin-transform-runtime'), | ||
], | ||
env: { | ||
production: { | ||
plugins: [ | ||
require.resolve('babel-plugin-transform-react-constant-elements'), | ||
require.resolve('babel-plugin-transform-react-inline-elements'), | ||
] | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export default function(fs, file) { | ||
return new Promise((resolve, reject) => { | ||
fs.access(file, fs.R_OK, error => { | ||
if (error) { | ||
reject(error); | ||
} else { | ||
resolve(file); | ||
} | ||
}); | ||
return new Promise((resolve, reject) => { | ||
fs.access(file, fs.R_OK, error => { | ||
if (error) { | ||
reject(error); | ||
} else { | ||
resolve(file); | ||
} | ||
}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default function(script) { | ||
return ` | ||
return ` | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
Oops, something went wrong.