ProtoSS Library for JavaScript

Zeta Ret ProtoSS Library - Prototype Supers-Subclass

Zeta Ret ProtoSS Logo
Minimized ProtoSS, ~1kb in gzip transfer, (Polymorphism, Prototypes, OOP)

Features on top of regular prototyping: super, superize, setSuper, setSubclass, getSupers, getSupers2, getReversedSupers, superList, superList2, getThis, getSuper, callSuper, callSuper2, callSuperX, callProto, callProto2, callProtoX, hasSuper, is, getNextSuper, getNextSuperX, abstract, implement, interface, final, statis, getSuperName, getSuperName2, namespace, usens, internal, package, rndstr


Examples included: a) Example with function overloads and 2 super classes. Usage of properties and methods.
https://jsfiddle.net/zetaret/cj5yy4qu/
b) Game Example with Builders, Buildings, Upgrades, Units.
https://jsfiddle.net/zetaret/asusm0uz/
c) Extended Prototypes framework with abstract, interface, implement, final.
https://jsfiddle.net/zetaret/8h0ugxym/
d) Extended Prototypes framework with getSuperName, namespace, usens, internal, package.
https://jsfiddle.net/zetaret/sw0j28qj/

Published: 2017

Documentation & Source

ProtoSS - Class/Interface/Header Manager

XeltoSS - Hybrid Symbiotic Coalescence of Classes and ProtoSS

Zeta Ret ProtoSS XeltoSS Logo

SkytoSS - ProtoSS GPU Acceleration and Web Workers

Zeta Ret ProtoSS SkytoSS Logo


Zeta Ret ProtoSS Cover