Created
January 7, 2013 11:44
-
-
Save niraj-shah/4474423 to your computer and use it in GitHub Desktop.
Expanded error function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( typeof msg == 'string' ) { | |
s.html(msg); | |
} else { | |
s.html("failed"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment