sai
02/11/2021, 6:05 AMSteve Goldberg
02/11/2021, 11:06 AMsai
02/12/2021, 1:13 PMSteve Goldberg
02/12/2021, 3:16 PMSteve Goldberg
02/12/2021, 3:16 PMsai
02/16/2021, 11:02 AMsai
02/16/2021, 11:02 AMSteve Goldberg
02/16/2021, 11:37 AMsai
02/16/2021, 12:08 PMSteve Goldberg
02/16/2021, 12:19 PMSteve Goldberg
02/16/2021, 12:21 PMgetItemEligibility is probably in the wrong place. In your constructor function, you should define getItemEligibility as a property of this , rather than having it in the body of the module.sai
02/16/2021, 12:53 PMSteve Goldberg
02/16/2021, 1:09 PMthis.[property] in your own code...sai
02/16/2021, 1:15 PMSteve Goldberg
02/16/2021, 2:25 PMinitialize function, their constructors act like initilalize. The point is that if you're going to have getItemEligibility function, then you should be putting this as a property in your constructor. Eg, this.getItemEligibility = function () {...}. In that function you should then be able to use this.contextData, or, at least, pass it in.sai
02/17/2021, 10:33 AMSteve Goldberg
02/17/2021, 11:07 AMsai
02/17/2021, 11:28 AMsai
02/17/2021, 11:32 AMSteve Goldberg
02/17/2021, 11:35 AMsai
02/23/2021, 11:43 AMsai
02/23/2021, 11:44 AM