Created
April 21, 2013 19:03
-
-
Save OscarGodson/5430643 to your computer and use it in GitHub Desktop.
This file contains 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
SomeClass({ | |
handleRequest: function () { | |
ajax({ | |
onSuccess: function (req) { | |
if (req.status == 'error') return; | |
// Blah | |
} | |
}); | |
} | |
}); |
This file contains 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
SomeClass({ | |
handleRequest: function () { | |
ajax({ | |
onSuccess: function (req) { | |
if (req.status == 'error') return; | |
else { | |
// Blah | |
} | |
} | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment