StructureJS

0.10.1

Code and documentation for the StructureJS library.

Extend Class

Defined in: js/util/Extend.js:17
Module: util
Parent Module: StructureJS

A helper method to extend classes.

Index

Show:

Constructor

Extend
(
  • inheritorClass
  • baseClass
)

Parameters:

Returns:

:

Example:

var AnotherClass = (function () {

    var _super = Extend(AnotherClass, BaseClass);

    function AnotherClass() {
        _super.call(this);
    }

    return AnotherClass;
})();