dangosky / 2048 Goto Github PK
View Code? Open in Web Editor NEW2048 on the web
Home Page: http://dangosky.com/2048/index.html
2048 on the web
Home Page: http://dangosky.com/2048/index.html
代码里的那一行$("#score").html(score);
或许JQ没有设计成$("#score").innerHTML = score;
的原因时JS里面的对象太开放了,新属性的添加相当自由,要是属性的名字写错了,Debug或许要一段时间才能发现问题。使用对象的方法这样的形式的话,要是方法名拼写错误了,调试器马上就有错误提示在,可以避免不必要的时间浪费。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.