Skip to content

Commit

Permalink
More trivial comment typos, its -> it's
Browse files Browse the repository at this point in the history
  • Loading branch information
toolness committed May 8, 2011
1 parent 50d70fb commit 82225d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jschannel.js
Expand Up @@ -378,12 +378,12 @@
message = e;
} else if (typeof e === 'object') {
// either an array or an object
// * if its an array of length two, then array[0] is the code, array[1] is the error message
// * if it's an array of length two, then array[0] is the code, array[1] is the error message
if (e && s_isArray(e) && e.length == 2) {
error = e[0];
message = e[1];
}
// * if its an object then we'll look form error and message parameters
// * if it's an object then we'll look form error and message parameters
else if (typeof e.error === 'string') {
error = e.error;
if (!e.message) message = "";
Expand Down

0 comments on commit 82225d1

Please sign in to comment.