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

Show skills and domains example #1

Merged
merged 5 commits into from
Jan 24, 2018
Merged

Show skills and domains example #1

merged 5 commits into from
Jan 24, 2018

Conversation

a0726h77
Copy link
Member

No description provided.

Copy link
Contributor

@kjelly kjelly left a comment

Choose a reason for hiding this comment

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

Please update your code

src/App.js Outdated

getDomains() {
if( this.state.data.projects != undefined) {
var projects = this.state.data.projects
Copy link
Contributor

Choose a reason for hiding this comment

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

Please indent

src/App.js Outdated
@@ -77,6 +77,60 @@ class App extends Component {
</Row>)
}

getSkills() {
if( this.state.data.projects != undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

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

用這樣比較好

if( this.state.data.projects === undefined) {
  return empty
}

@a0726h77
Copy link
Member Author

fixed

Copy link
Contributor

@kjelly kjelly left a comment

Choose a reason for hiding this comment

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

程式改完後,記得跑
node_modules/esformatter/bin/esformatter src/App.js -i
格式化程式碼。
那隻程式可用 npm install 安裝

src/App.js Outdated
}
skills = skills.sort()
for (var i=0; i < skills.length; i++) {
//skills_checkbox.push(<input type="checkbox" value={skills[i]} /> {skills[i]})
Copy link
Contributor

Choose a reason for hiding this comment

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

移除無用的註解吧

src/App.js Outdated
}
domains = domains.sort()
for (var i=0; i < domains.length; i++) {
//domains_checkbox.push(<input type="checkbox" value={domains[i]} /> {domains[i]})
Copy link
Contributor

Choose a reason for hiding this comment

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

移除無用的註解吧

@kjelly kjelly merged commit 75d9d72 into master Jan 24, 2018
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