BaseBuild.js revision af716e785a91e92d5cfa85d40fdd10a30f94751f
L = Y.Lang,
if (px) {
if (sx) {
if (dynamic) {
return builtClass;
if (aggregates) {
if (custom) {
for (var j in custom) {
custom[j](j, r, s);
function BuiltClass() {
return BuiltClass;
id: null,
exts : [],
return builtClass;
var aggr = [],
cust = {},
c = main;
while (c && c.prototype) {
if (buildCfg) {
if (cfgAggr) {
if (cfgCustBuild) {
return sxclone;
* @param {Function} name The name of the new class. Used to defined the NAME property for the new class.
* augmented/aggregated to the built class.
* <p>Creates a new class (constructor function) which extends the base class passed in as the second argument,
* <p>Prototype properties or methods can be added to the new class, using the px argument (similar to Y.extend).</p>
* <p>Static properties or methods can be added to the new class, using the sx argument (similar to Y.extend).</p>
* @param {Function} name The name of the newly created class. Used to defined the NAME property for the new class.
* @param {Function} main The base class which the new class should extend. This class needs to be Base or a class derived from base (e.g. Widget).
* @param {Object} px The set of prototype properties/methods to add to the built class.
* @param {Object} sx The set of static properties/methods to add to the built class.
* @param {Function} main The existing class into which the extensions should be mixed. The class needs to be Base or class derived from base (e.g. Widget)
* @param {Function[]} extensions The set of extension classes which will mixed into the existing main class.
custom : {
if (s[prop]) {