babel/lib/6to5/transformation/templates/class-super-constructor-call.js
Brian Donovan af1912ab7a Ensure constructors use the current super class.
This is an extension of 324a4a1b22c5cd6b624d7689f8ec97a8c36eb165.
2015-01-08 09:31:18 -08:00

4 lines
112 B
JavaScript

if (Object.getPrototypeOf(CLASS_NAME) !== null) {
Object.getPrototypeOf(CLASS_NAME).apply(this, arguments);
}