Fix service connection timeout error initialization

This commit is contained in:
Emily Stark
2014-06-16 14:28:29 -07:00
parent 69cd9ccd8c
commit 6f637b6b47

View File

@@ -52,7 +52,7 @@ ServiceConnection.ConnectionTimeoutError = _.extend(
// can't run this at the top-level since we're not in a fiber. see
// comment before ServiceConnection.ConnectionTimeoutError.
ensureConnectionTimeoutErrorDefined = function (Meteor) {
if (! ServiceConnection.ConnectionTimeoutError.uninitialized) {
if (ServiceConnection.ConnectionTimeoutError.uninitialized) {
ServiceConnection.ConnectionTimeoutError = Meteor.makeErrorType(
"ServiceConnection.ConnectionTimeoutError", /*name*/
function () {