Skip to content

Commit

Permalink
Merge pull request #57 from roykachouh/master
Browse files Browse the repository at this point in the history
corrected typo when a user specifies an options.path option
  • Loading branch information
jfarcand committed Feb 18, 2014
2 parents cdfcc02 + c4e5c83 commit 33e1945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-app/js/grails/grailsEvents.js
Expand Up @@ -23,7 +23,7 @@ var grails = grails || {};
var hasOptions = (options && (typeof options == "object"));

that.globalTopicName = hasOptions && options.globalTopicName && (typeof options.globalTopicName == "string") ? options.globalTopicName : "eventsbus";
that.path = hasOptions && options.path && (typeof options.path == "string") ? option.path : "g-eventsbus";
that.path = hasOptions && options.path && (typeof options.path == "string") ? options.path : "g-eventsbus";
that.binary = hasOptions && options.binary && (typeof options.binary == "boolean") ? options.binary : false;

var loadingRequest = {};
Expand Down Expand Up @@ -316,4 +316,4 @@ var grails = grails || {};
grails.Events.CLOSED = 3;

}
})(jQuery);
})(jQuery);

0 comments on commit 33e1945

Please sign in to comment.