Reputation: 123
my html code look like this
<script src="js/raphael/raphael.js"></script>
<script src="js/raphael/g.raphael.js"></script>
<script src="js/raphael/g.bar.js"></script>
But my developer tool says
Uncaught ReferenceError: Raphael is not defined g.raphael.js:7
Uncaught ReferenceError: Raphael is not defined g.bar.js:19
when i load the page and look at the developer console
I have offcourse downloaded all the files and placed them in the shown locations.
What am i doing wrong?
Upvotes: 2
Views: 16344
Reputation: 6667
Paste these files raphael.js
, g.raphael.js
, g.bar.js
where your html/jsp files reside.
You will get ride of ReferenceError: Raphael is not defined
this problem.
Upvotes: 0
Reputation: 53
Got the same problem with an XPages
approach under Domino Server
.
Found out that Dojo Toolkit
- which automatically gets added to every XPage - is not compatible with Raphael
.
Removed Dojo
from the page, used jQuery
instead - everything fine.
Upvotes: 0