Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

prevent jquery from being loaded by steal

$
0
0
Hi,

I am embedding JMVC v3.3 app inside my html page. The page already has jquery loaded NOT by steal but pulled in through a normal <script src=""></script> tag. When I use steal inside the app, it loads its own jquery and thus all other jquery based plugins stop working on the page outside the app.

I tried using the following prior to loading steal script:-

  1. steal = {
          executed: ["jquery/jquery.js"]
    };
This prevents steal from loading jquery again, but then '$' becomes undefined inside the app and it starts throwing all sorts of errors because of it. 

How to prevent steal from loading its own jquery and yet make it work with the jquery loaded outside of it? 

Viewing all articles
Browse latest Browse all 3491

Trending Articles