node 单例

ScriptManager.getInstance = function () 
{     
if (_instance != null) {         
	return _instance;     
} else 
{         	return new ScriptManager();     
} 
}; 

posted on 2019-08-12 14:35  小小鸟儿!  阅读(274)  评论(0)    收藏  举报