The require.ensure method on line 120 was using a generic function. Therefore, the this scope was being lost when trying to reference the _getActualResul` method. Changing it to a fat arrow method fixes the issue as the scope of "this" remains in reference to the class containing this method.
The require.ensure method on line 120 was using a generic function. Therefore, the
this
scope was being lost when trying to reference the _getActualResul` method. Changing it to a fat arrow method fixes the issue as the scope of "this" remains in reference to the class containing this method.