chore(dom) rm \n in getCurrentData

This commit is contained in:
coderaiser 2013-07-09 08:20:45 +00:00
parent c37aca5876
commit 96f6bb04c5

View file

@ -1280,14 +1280,13 @@ var CloudCmd, Util, DOM, CloudFunc;
return lRet;
};
/**
/**
* unified way to get current file content
*
* @pCallBack - function({data, name}){}
* @pCurrentFile
*/
this.getCurrentData = function(pCallBack, pCurrentFile){
var lParams,
lCurrentFile = pCurrentFile ? pCurrentFile : this.getCurrentFile(),
lFunc = function(pData){