From dad5993c200c1e26d0a861f5e66a9ad6f2ced8fd Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 13 Feb 2018 20:29:11 +0100 Subject: [PATCH] fix stuff --- src/core/vfs.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vfs.coffee b/src/core/vfs.coffee index fbcb959..55d321a 100644 --- a/src/core/vfs.coffee +++ b/src/core/vfs.coffee @@ -24,7 +24,7 @@ this.OS.API.VFS = return self.OS.API.VFS.handlers[protos] = cls # if typeof protos is "string" #_API.VFS.handlers[v] = cls for v in protos findHandlers: (proto) -> - l = (v for k, v of _API.VFS.handlers when proto.match (new RegExp k , "g")) + l = (v for k, v of _API.VFS.handlers when proto.trim().match (new RegExp k , "g")) return l class BaseFileHandler