From 63917ba8b57b12929bc39ee0d375c9d21f7e2d5d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 20 Jan 2014 04:34:07 -0500 Subject: [PATCH] refactor(cloudfunc) typeof -> isString --- lib/cloudfunc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cloudfunc.js b/lib/cloudfunc.js index 37156ae1..7707b3d3 100644 --- a/lib/cloudfunc.js +++ b/lib/cloudfunc.js @@ -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('/');