Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Streamlining function readfiles() #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

GodsDev
Copy link

@GodsDev GodsDev commented Jan 7, 2014

As nothing happens in the readfiles function (only previewfile is performed to confuse user), wouldn't it be more readable to add the following line
if(!tests.formdata){alert('Unsupported');return false;}
and skip further tests.formdata conditioning?
Or have I misunderstood the purpose of the function?

As nothing happens in the readfiles function (only previewfile is performed to confuse user), wouldn't it be more readable to add the following line
    if(!tests.formdata){alert('Unsupported');return false;}
and skip further tests.formdata conditioning?
Or have I misunderstood the purpose of the function?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant