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

How to use jQuery and Flot with AuraJS ? #352

Open
razorree opened this issue Jul 12, 2016 · 0 comments
Open

How to use jQuery and Flot with AuraJS ? #352

razorree opened this issue Jul 12, 2016 · 0 comments

Comments

@razorree
Copy link

I've added

<script language="javascript" type="text/javascript" src="../js/jquery.js"></script> 
<script language="javascript" type="text/javascript" src="../js/jquery.flot.js"></script> 

in my application file (aura:application), and i can see files are included by browser (in developers tools console)

but during initialization i have an error:

aura_dev.js:2931 
Uncaught ReferenceError: jQuery is not defined
throws at http://localhost:8080/js/jquery.flot.js:32:3127
Logger.$devDebugConsoleLog$ @ aura_dev.js:2931
AuraInstance.handleError @ aura_dev.js:16312
AuraInstance.$reportError$ @ aura_dev.js:16348
newHandler @ aura_dev.js:18291
(anonymous function) @ aura_dev.js:18298
    aura_dev.js:2936 ReferenceError: jQuery is not defined(…)Logger.$devDebugConsoleLog$ @ aura_dev.js:2936AuraInstance.handleError @ aura_dev.js:16312AuraInstance.$reportError$ @ aura_dev.js:16348newHandler @ aura_dev.js:18291(anonymous function) @ aura_dev.js:18298

How to use jQuery and Flot with AuraJS ?

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