You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following error when trying to run the activity handler function on pageload. Method passes all tests that invoke it. Possible something syntactical since we are using jQuery?
jquery.min.js:2 jQuery.Deferred exception: this.activityInfo.find is not a function TypeError: this.activityInfo.find is not a function
at Activity.getActivityInfoByDate (file:///Users/faerber/Turing/projects/fitlit-project/src/activity.js:10:35)
at Activity.getUserActivityStatForDate (file:///Users/faerber/Turing/projects/fitlit-project/src/activity.js:22:10)
at activityHandler (file:///Users/faerber/Turing/projects/fitlit-project/src/scripts.js:42:50)
at HTMLDocument.<anonymous> (file:///Users/faerber/Turing/projects/fitlit-project/src/scripts.js:17:3)
at e (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29453)
at t (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:29755) undefined
The text was updated successfully, but these errors were encountered:
Getting the following error when trying to run the activity handler function on pageload. Method passes all tests that invoke it. Possible something syntactical since we are using jQuery?
The text was updated successfully, but these errors were encountered: