在main js里面new 这样一个实例算怎么回事,如果不这么new, ToolBar里就会报错:
Portal.gbl = { constants : new Portal.common.Constants() };