Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling empty params #7

Open
hamecoded opened this issue Dec 26, 2011 · 0 comments
Open

Handling empty params #7

hamecoded opened this issue Dec 26, 2011 · 0 comments

Comments

@hamecoded
Copy link

line 181 tests "if(text)" and incase no params are passed the text resolves to "null" as string, this inturn will enter the condition and an exception will be thrown.

I've replaced this line with:
if(text && text != "null")
This puts me back on track

Oded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant