extend-with-super
Version:
Extend object literals with function properties to have a _super method that references the original function, instead of overwriting it. (No dependencies, but borrowed methods from underscore.js.)
11 lines (7 loc) • 258 B
JavaScript