Can’t find variable: jQuery

Can’t find variable: jQuery

BY 10 Apr 2013 Web Application Development

For some reason I can’t seem to get jQuery working in a project I’m working on. It works fine from both a virtual host and direct from my localhost. But when I try and import the project into Tizen, both in the Simulator and my real device, I get the following in the console:

--------- beginning of /dev/log_main

js/swipe.min.js (1) :ReferenceError: Can't find variable: jQuery

js/player.min.js (1) :ReferenceError: Can't find variable: $

I know what this error means normally, jQuery isn’t loading properly. However, enough of the app works for me to know that it is being loaded. For example I have an active state that I set via class on some thumbnails and it is swapped through them as you click on one. All this is being done using jQuery methods. But I get this error and most of the app doesn’t load, specifically video and images. These work as well on any other platform or host that I setup to test them on.

What is happening to trigger this error?

 

Written by