Use and require in seajs

encountered a strange problem when using seajs, which was found when using seajs.use and require, when using jquery. The problem with
is that using jquery is version 1.8.3, using

seajs.use("../../1.8.3/jquery.js",function($){
    console.log($); // null, null, 
});

define the module directly

define(function(require,exports,module){
    require("../../1.8.3/jquery.js");
    console.log($); // ok, jquery 
});

through the configuration file

seajs.config({
    base : "lib",
    alias:{
        jquery : "1.8.3/jquery"
    }
});
seajs.use("jquery",function($){
    console.log($); // 
});

through the comparison above, I don"t see any problem. Is it the difference between use and require? Why is this happening? Why you need to return the jquery module to $.noConflict () when using use.

Mar.07,2021
Menu