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

Re : Which CanJS files do I use with StealJS

$
0
0
No the jquery is not there,  you need a stealconfig  file to map each dependency to source file for example:
  1. steal.config({
    map: {
    "*": {
    "jquery/jquery.js": "jquery",
    "can/util/util.js": "can/util/jquery/jquery.js",
    }
    }
  2. })
this example is from canjs github repository

Mohamed Cherif BOUCHELAGHEM

Viewing all articles
Browse latest Browse all 3491

Trending Articles