requirejs的用法
/*没有用require中的define,用普通方式定义的函数,在requirejs中怎么使用*/
function hello(){
console.log('hello,大家好ffffffffff');
}
function hello2(){
console.log('hello2,大家好hhhhhhhh');
function hello(){
console.log('hello,大家好ffffffffff');
}
function hello2(){
console.log('hello2,大家好hhhhhhhh');
}
1.
直接应用即可