TypeError: ProfileModel.getInstance is not a function

To solve the error shown in console

define the variable profile as

var profile = ProfileModel.ProfileModel.getInstance();

Leave a comment

Your email address will not be published. Required fields are marked *