add if statement to class super constructor call

This commit is contained in:
Sebastian McKenzie
2014-12-18 16:30:23 +11:00
parent 64216ec384
commit f84e0ba640

View File

@@ -1,2 +1,3 @@
SUPER_NAME.apply(this, arguments);
if (SUPER_NAME) {
SUPER_NAME.apply(this, arguments);
}