Objex
基本构造函数可简化原型继承。
。
简单的例子
var Objex = require ( 'objex' ) ,
Animal = Objex . create ( function ( ) {
Animal . __super . apply ( this , arguments ) ;
this . feet = 4 ;
this . hands = 0 ;
this . head = 1 ;
} ) ,
Wolf = Animal . create ( ) ,
Dog = Wolf . create ( ) ,
Monkey = Animal . create ( function ( ) {
Monkey . __super . apply (