Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity Date method throwing jQuery error #16

Open
hfaerber opened this issue Oct 13, 2019 · 0 comments
Open

Activity Date method throwing jQuery error #16

hfaerber opened this issue Oct 13, 2019 · 0 comments

Comments

@hfaerber
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant