ui5 framework extend function

extend is actually returning a new class by Metadata.createClass

create prototype chain

fnClass.prototype = jQuery.sap.newObject(fnBaseClass.prototype);

fnClass.prototype.constructor = fnClass;

Make the class visible as JS Object: jQuery.sap.setObject(sClassName, fnClass);

fnClass.getMetadata = fnClass.prototype.getMetadata = jQuery.sap.getter(oMetadata);

ui5 framework extend functionui5 framework extend functionui5 framework extend functionui5 framework extend functionui5 framework extend functionui5 framework extend function


ui5 framework extend function








上一篇:Uncaught SyntaxError: Unexpected token ILLEGAL


下一篇:Uncaught SyntaxError - unexpected end of input