refactor(cloudfunc) typeof -> isString

This commit is contained in:
coderaiser 2014-01-20 04:34:07 -05:00
parent 590dc58fe5
commit 63917ba8b5

View file

@ -87,7 +87,7 @@ var Util;
*/
this.rmLastSlash = function(pPath) {
var lRet = pPath,
lIsStr = typeof pPath==='string',
lIsStr = Util.isString(pPath),
lLengh = pPath.length-1,
lLastSlash = pPath.lastIndexOf('/');