Visual Studio 2015 RC + RequireJS + jQuery -
i'm using visual studio 2015rc + cordova cli 5.1.1 + typescript + requirejs + jquery .
i'd change location of jquery.js file scripts
folder scripts/lib
. added requirejs.config , changed jquery location.
requirejs.config({ baseurl: 'scripts/lib', paths: { jquery: 'jquery' } });
unfortunately, when debug using ripple following error. exception occurred message: exception: script error for: jquery http://requirejs.org/docs/errors.html#scripterror
i'm not sure if problem requirejs , jquery or vs2015rc + cordova.
i'm not sure if problem requirejs , jquery or vs2015rc + cordova.
the error jquery
isn't resolving jquery.js
file (an http 404 error). check http request made browser. http://yourapp/scripts/lib/jquery.js
. make call (open link in browser. , based on fix config correct path jquery.js file.
Comments
Post a Comment