seajs.use('index', function(mhlib) {
//mhlib
});
var config = {base:"/newApi",pathname:"/shop/10/detail",a:"a",b:1};
console.log(mhlib.getApi(config)); //newApi/shop/10/detail?a=a&b=1';
mhlib.type({}) // object
mhlib.type(function(){}) //function
mhlib.type.isNaN(NaN) //true
var a;
mhlib.type.isUndefined(a) //true