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

Working with requirejs

$
0
0
Sort of have it working.  I'm noticing that with a very basic example where I define a simple can.Control I get a ton of request for the module files.  I'd rather utilize a single can build file even if that is larger.  When I tried using can as a single lib file defined in paths I was getting errors with jQuery not being defined by the time can wanted to pass it in on init.  What was weird is that it would only error like 75% of the time.  Can someone suggest a basic config/setup for simply using jQuery with can and requirejs?  Thanks.

Viewing all articles
Browse latest Browse all 3491

Trending Articles