Tern supports Object literal with this case :
requirejs.config({
// here Ctrl+Space show baseUrl
});
But if you declare the object literal in a var, it doesn't work :
var config = {
// PROBLEM : here Ctrl+Space doesn't show baseUrl
}
requirejs.config(config);