function clazz(SuperClass, methods) {
            var constructor = function () {};
            constructor.prototype = new SuperClass;
            constructor.prototype.constructor = constructor;
            constructor.prototype.parent = SuperClass.prototype;
            constructor.prototype = $.extend(constructor.prototype, methods);
            SuperClass.child = constructor.prototype;
            return constructor;
        }
/**
         * Creates a new class
         *
         * @param superClass
         * @param methods
         */
Creates a new class
@param superClass
@param methods
Creates a new class @param superClass @param methods
function clazz(SuperClass, methods) {
            var constructor = function () {};
            constructor.prototype = new SuperClass;
            constructor.prototype.constructor = constructor;
            constructor.prototype.parent = SuperClass.prototype;
            constructor.prototype = $.extend(constructor.prototype, methods);
            SuperClass.child = constructor.prototype;
            return constructor;
        }
function clazz ( SuperClass , methods ) { var constructor = function ( ) { } ; constructor . prototype = new SuperClass ; constructor . prototype . constructor = constructor ; constructor . prototype . parent = SuperClass . prototype ; constructor . prototype = $ . extend ( constructor . prototype , methods ) ; SuperClass . child = constructor . prototype ; return constructor ; }
Creates a new class
 @param superClass
 @param methods
Creates a new class @param superClass @param methods