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

Vickymin #35

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Vickymin #35

wants to merge 10 commits into from

Conversation

vickymin
Copy link

用canvas完成的,还比较简陋,基本功能可以实现了,准备之后再用div做一下,请老师多多指点!谢谢~

gen_button.onclick = generateHandler;
//点击“Clear”按钮
var clear_button = document.getElementById("clear");
clear_button.onclick = function(){clearCanvas(context,canvas);}
Copy link
Contributor

Choose a reason for hiding this comment

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

都用camelCase,例如clearButton

Copy link
Author

Choose a reason for hiding this comment

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

好的,谢谢老师!

@shaohua shaohua added the 101 label Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants