Closed manvir-singh closed 10 years ago
This is my first ever pull request sorry if i made any mistakes.
Sorry, this does not add much value in my opinion. Its a very specific problem that you are solving. There is a general one-liner for getting any active file object(any property) for any condition. That is much better in my opinion.
Also there are several code issues. For example function name, misleading comment, prototype where its defined and performance considerations.
Ok that's fine
Get file id knowing only the files full name. Returns the name of the file.