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

undefined is not an object (evaluating in xxx.xxx) in safari. #64

Closed
yadavsachin opened this issue May 24, 2018 · 4 comments
Closed

undefined is not an object (evaluating in xxx.xxx) in safari. #64

yadavsachin opened this issue May 24, 2018 · 4 comments

Comments

@yadavsachin
Copy link

xxx.xxx is works well in chrome and IE

@piranna
Copy link
Collaborator

piranna commented May 24, 2018

Can you provide more info? So far I can only tell you Safari is the new IE6.

@yadavsachin
Copy link
Author

I have function called
isCustomerDataAvailable(){
return this.data || IsNull(Data.Customer)
}

Data.Customer is basically return as "object" in chrome and IE
Strange thing is in safari also it returns me as "object" but sometimes it throws me error as below.
message: "undefined is not an object (evaluating 'Data.Customer')"

@yadavsachin
Copy link
Author

I found similar thread around this. Do I need try similar thing in my case
OneSignal/OneSignal-Website-SDK#295

@piranna
Copy link
Collaborator

piranna commented May 24, 2018

Yes, you should do a similar fix, seems Data is not defined, whatever it is.

@piranna piranna closed this as completed May 24, 2018
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

2 participants