change instance reference to this in class super constructor call template - fixes #689

This commit is contained in:
Sebastian McKenzie
2015-02-04 10:03:15 +11:00
parent e8dc4628ae
commit 36fa174901

View File

@@ -1,3 +1,3 @@
if (Object.getPrototypeOf(CLASS_NAME) !== null) {
Object.getPrototypeOf(CLASS_NAME).apply(instance, arguments);
Object.getPrototypeOf(CLASS_NAME).apply(this, arguments);
}