mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Use correct method names.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
handeled = YES;
|
||||
}
|
||||
else if ([event modifierFlags] & (NSAlternateKeyMask | NSControlKeyMask | NSCommandKeyMask) && [[event charactersIgnoringModifiers] hasPrefix:@"s"]) {
|
||||
[self runSpecs];
|
||||
[self createSpecController];
|
||||
handeled = YES;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user