Use correct method names.

This commit is contained in:
Corey Johnson
2011-12-14 11:47:09 -08:00
parent 85fd1bd624
commit 507341e714
2 changed files with 3 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
handeled = YES;
}
else if ([event modifierFlags] & (NSAlternateKeyMask | NSControlKeyMask | NSCommandKeyMask) && [[event charactersIgnoringModifiers] hasPrefix:@"s"]) {
[self runSpecs];
[self createSpecController];
handeled = YES;
}
else {

View File

@@ -30,7 +30,6 @@
[super dealloc];
}
- (id)initWithBootstrapScript:(NSString *)bootstrapScript url:(NSString *)url {
self = [super initWithWindowNibName:@"AtomWindow"];
self.bootstrapScript = bootstrapScript;
@@ -40,8 +39,8 @@
return self;
}
- (id)initSpecs {
return [self initWithBootstrapScript:@"spec-startup" url:nil];
- (id)initForSpecs {
return [self initWithBootstrapScript:@"spec-bootstrap" url:nil];
}
- (id)initWithURL:(NSString *)url {