import { app } from './app/Application'; import { Mixin } from './Mixin'; /** * Lixer Class */ export class Lixer { /** * Boot */ public static Boot(userapp) { (new userapp()).Launch(); } public static applyMixins(derivedCtor: any, baseCtors: Mixin[]) { baseCtors.forEach(baseCtor => { Object.getOwnPropertyNames((Object)(baseCtor).prototype).forEach(name => { derivedCtor.prototype[name] = (Object)(baseCtor).prototype[name]; }); }); } } // EOF