I am currently experimenting with the Hot Towel SPA Template, which defines these two libraries for Durandal if I understand this correctly. I cannot figure out the exact difference between these two calls, though:
// Durandal 2.x assumes no global libraries. It will ship expecting
// Knockout and jQuery to be defined with requirejs. .NET
// templates by default will set them up as standard script
// libs and then register them with require as follows:
define('jquery', function () { return jQuery; });
define('knockout', ko);
Would define('knockout', function () => { return ko; });?
do the same?