javascript很灵活,可以有各种编程风格 //函数式 function startAnimation(){ //... } function stopAnimation(){ //... } //类式 function Animation(){ this.start = function(){} this.stopj = function(){} } //原型1 var Animation = function(){} Animation.prototype... Read More
posted @ 2013-05-20 15:58 人 在 旅 途 Views(182) Comments(0) Diggs(0)