Why isn't RequireJS passing jQuery into the functions alias?

后端 未结 3 931
一整个雨季
一整个雨季 2021-02-09 09:36

I downloaded the sample-project for the latest-release of RequireJS. Their documentation implies anything loaded is passed-into the parameter list of the associated function (i

3条回答
  •  再見小時候
    2021-02-09 10:17

    Is your scripts folder 'Scripts' or 'scripts'?

    You're making a request for "Scripts/require.js" as well as for "scripts/jQuery/Core/jquery-1.7.2.min". Take a look at the Net tab of Firebug... I bet you're generating a 404 there.

提交回复
热议问题