摘要: There are a lot of articles that discuss jQuery and JavaScript performance. However, in this article I plan to summarize a bunch of speed tips and some of my own advice to improve your jQuery and JavaScript code. Better code means faster apps and jank free websites. Fast rendering and reactivity mea 阅读全文
posted @ 2013-12-09 17:45 h-hello 阅读(233) 评论(0) 推荐(0) 编辑
摘要: As a follow-up to“30 HTML and CSS Best Practices”, this week, we’ll review JavaScript! Once you’ve reviewed the list, be sure to let us know what little tips you’ve come across!1.Use === Instead of ==JavaScript utilizes two different kinds of equality operators:===|!==and==|!=It is considered best p 阅读全文
posted @ 2013-12-09 17:12 h-hello 阅读(199) 评论(0) 推荐(0) 编辑