-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start changing to es6 modules (#1530)
* start changing to es6 modules * change more files * use e6s in more files. * finish changing all the files under lib/ and tools/ * make npm run start & npm run live running * make test using es6 * remove experimental flag, add function importJSON() in util.js * Update app.js Co-authored-by: Denis Ah-Kang <[email protected]> Co-authored-by: Denis Ah-Kang <[email protected]>
- Loading branch information
1 parent
2716876
commit c418588
Showing
169 changed files
with
2,416 additions
and
2,013 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
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
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,8 @@ | ||
// Base profile for all Submissions | ||
import * as submLogo from '../rules/headers/subm-logo.js'; | ||
import { rules as baseRules } from './base.js'; | ||
import { insertAfter } from './profileUtil.js'; | ||
|
||
exports.name = 'Submission'; | ||
export const name = 'Submission'; | ||
|
||
const profileUtil = require('./profileUtil'); | ||
|
||
exports.rules = profileUtil.insertAfter( | ||
require('./base').rules, | ||
'headers.logo', | ||
require('../rules/headers/subm-logo') | ||
); | ||
export const rules = insertAfter(baseRules, 'headers.logo', submLogo); |
Oops, something went wrong.