摘要: CSS combinators allows us to reference the DOM relationship between two or more elements in CSS. 阅读全文
posted @ 2016-05-17 22:41 Zhentiw 阅读(217) 评论(0) 推荐(0)
摘要: Learn how to use console.table to render arrays and objects in a tabular format for easy scanning over the values. We'll create some mock data and the 阅读全文
posted @ 2016-05-17 21:21 Zhentiw 阅读(188) 评论(0) 推荐(0)
摘要: Learn to use console.time with console.timeEnd to get accurate timings of operations in javascript. This tool can help with javascript profiling and p 阅读全文
posted @ 2016-05-17 21:14 Zhentiw 阅读(175) 评论(0) 推荐(0)
摘要: When the refersh button is clicked, we need to tell the waiting service worker to replace the current service worker right away. Then we refresh the p 阅读全文
posted @ 2016-05-17 03:35 Zhentiw 阅读(321) 评论(0) 推荐(0)
摘要: In some rare cases, you need to ask user to refresh the browsser to update the version. Maybe because some secrity issues. As we have learnt so far. A 阅读全文
posted @ 2016-05-17 02:54 Zhentiw 阅读(475) 评论(0) 推荐(0)