Palm's Enyo framework uses a DSL-ish "Kind" system to create objects based on prototypes. Unfortunately, this results in, what I believe to be, untidier code.
Does anyone have any experience using/hacking Enyo with native-javascript prototypes / constructors?
enyo.kind
name: 'SimpleTimer'
kind: "RowGroup"
caption: "Simple Timer"
published:
timerDuration: 30
vs…</p>
class SimpleTimer extends RowGroup
caption: "SimpleTimer"
published:
timerDuration: 30
Hoping to know if anyone else has accomplished/attempted this.