13. March 2016
ReactJS - Template Method Pattern
The Template Method Pattern let you redefine certain steps of an algorithm without changing the algorithm’s structure. It is important for the UI design
MY CONTENTS FOR LOOK BACK
13. March 2016
The Template Method Pattern let you redefine certain steps of an algorithm without changing the algorithm’s structure. It is important for the UI design
01. March 2016
A work of me from screen cast show.
24. February 2016
A quite smooth and relax animation. The animation code is long but it’s worthy
23. February 2016
Postaljs是一款js pub/sub 库,相当于为页面应用提供了一个新的事件/消息系统。 作为原始JS开发,貌似对这种事件系统需求不大,然而要使用组件化开发,无论是reactjs还是angular,这种事件系统都会起到很大的作用。
15. February 2016
The game for kids is made with cocos2d-js(html5) in this time last year.
02. February 2016
This is the dido-timer, which is first published as mobile app in cordova in the end of 2014. And now it can be run on browsers with mobile shell.
16. January 2016
animate.table is a jquery plugin(would be react component and npm package in future) which can initialize a html table by json data with animations. animate.table is also a dynamic table. you can also insert\remove\update table or rows with animation.
11. January 2016
DeviceShell is a jquery plugin to provide device shell for any div in a laptop html pages. If your visit the page on mobile or pad, the content is auto set as full screened.
15. December 2015
Quick code reference
Front code collections for quickly input
var ANI_EVENT_NAME = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
$(ele).on(ANI_EVENT_NAME,
function(){
$(this).off(ANI_EVENT_NAME);
}
);
15. November 2015
本文介绍了一些js试题。无论有趣或者无趣,这就是我们大前端正在使用着的语言。
06. November 2015
The loading work is written separately, So we can add a lightweight scene director for that
20. October 2015
The whiteboard screen and the landscape requires a slide show of honeycombs, and here is the ultimate maker!
16. May 2015
A girl walking to the school on sunny day
02. April 2015
This is a English learning honeycomb show. The key is the fragments fly-in effects. Three rhombus make up a hexagon.
10. October 2013
We will discuss every scenario in which we use these three methods in JavaScript. While Apply and Call come with ECMAScript 3 (available on IE 6, 7, 8, and modern browsers), ECMAScript 5 (available on only modern browsers) added the Bind method. These 3 Function methods are workhorses and sometimes you absolutely need one of them. Let’s begin with the Bind method.
02. February 2012
Full markdown syntax taken from John Gruber’s Daring Fireball. Did you know that 9 out of 10 bloggers prefer to write in markdown?