mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
fix stuff
This commit is contained in:
parent
64238fffbb
commit
dad5993c20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user