Skip to content
Browse files

clear syntax in Submit options Array judgement

  • Loading branch information...
1 parent 9f74eb1 commit cf7a1c974ea70342fc56ae8b27a36e792a9c0528 @kaven276 committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cmds/cmdSubmit.js
View
2 lib/cmds/cmdSubmit.js
@@ -46,7 +46,7 @@ function Submit(UserNumber, MessageCoding, MessageContent, options){
myOptions.__proto__ = defOptions;
if (options) {
- if (!options instanceof Array)
+ if (!(options instanceof Array))
options = [options];
options.forEach(function(opt){
if (opt instanceof String) {

0 comments on commit cf7a1c9

Please sign in to comment.
Something went wrong with that request. Please try again.