Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
drewconner committed Apr 14, 2014
1 parent 09c3ab4 commit d8f41a9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ChimpKit3/ChimpKit.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,20 @@ + (ChimpKit *)sharedKit {

dispatch_once(&pred, ^{
_sharedKit = [[self alloc] init];
_sharedKit.timeoutInterval = kDefaultTimeoutInterval;
_sharedKit.requests = [[NSMutableDictionary alloc] init];
});

return _sharedKit;
}

- (id)init {
if (self = [super init]) {
self.timeoutInterval = kDefaultTimeoutInterval;
self.requests = [[NSMutableDictionary alloc] init];
}

return self;
}


#pragma mark - Properties

Expand Down

0 comments on commit d8f41a9

Please sign in to comment.