JavaScript IS an OO language itself.

I just wrote a jQuery plugin to realize a C-like class writing style.

I’ve used just one of the jQuery functions, $.extend. So if you’d like to make it standalone, just realize $.extend yourself then you make it.

Now see the code, I’ve made comments in it.

Read the rest of this entry

,