You need to sign in to do that
Don't have an account?
Sumit Budhiraja 9133
Uncaught TypeError: Cannot read property 'expando' of undefined throws at /resource/jQuery
<aura:component >
<ltng:require scripts="{!join(',',
$Resource.jquery + '/jquery.js',
$Resource.tipsyjs + '/tipsy.js',
$Resource.d3 + '/d3.js',
$Resource.d3chartline + '/d3chartline.js')}"
/>
</aura:component>
<ltng:require scripts="{!join(',',
$Resource.jquery + '/jquery.js',
$Resource.tipsyjs + '/tipsy.js',
$Resource.d3 + '/d3.js',
$Resource.d3chartline + '/d3chartline.js')}"
/>
</aura:component>
May I suggest you please check with below link from the community forums which might help you further with the above requirement.
- https://salesforce.stackexchange.com/questions/128803/locker-service-uncaught-typeerror-cannot-read-property-expando-of-undefined
- https://salesforce.stackexchange.com/questions/129993/uncaught-typeerror-cannot-redefine-property-title-throws-at-aura-prod-js
Please let us know if this helps.Thanks,
Nagendra.
Even I faced this issue. I had a static resource named "basicstyle" in my org and it had a js file "jquery-1.11.1.min.js".
At that time I used the below line to add the static resource:
When I had like this, I faced the same error as you have mentioned.
Then I downloaded the latest Production JQuery X.X.1 from http://jquery.com/download/. So I changed the above mentioned line to something like below:
That's all It fixed my issue :)
PS: I am very sure that you would have got the solution by now. But it is just for some one like me :)
Thanks,
Nandeeswara Raju