From 2512b48293c140c72f307683f9502c72ee649fd0 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 11 Nov 2011 14:14:09 -0800 Subject: [PATCH] Corey, Corey, Corey... --- Atom/Classes/AtomApp.m | 2 +- Atom/Classes/AtomController.h | 4 ++-- Atom/Classes/AtomController.m | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Atom/Classes/AtomApp.m b/Atom/Classes/AtomApp.m index 69e0d20ed..4ac6bd923 100644 --- a/Atom/Classes/AtomApp.m +++ b/Atom/Classes/AtomApp.m @@ -12,7 +12,7 @@ @synthesize controllers; - (AtomController *)createController:(NSString *)path { - AtomController *controller = [[AtomController alloc] initWithPath:path]; + AtomController *controller = [[AtomController alloc] initWithURL:path]; [controllers addObject:controller]; return controller; diff --git a/Atom/Classes/AtomController.h b/Atom/Classes/AtomController.h index 203896ef2..fad7ee298 100644 --- a/Atom/Classes/AtomController.h +++ b/Atom/Classes/AtomController.h @@ -7,9 +7,9 @@ } @property (retain) WebView *webView; -@property (retain, readonly) NSString *path; +@property (retain, readonly) NSString *url; @property (retain) JSCocoa *jscocoa; -- (AtomController *)initWithPath:(NSString *)aPath; +- (AtomController *)initWithURL:(NSString *)url; @end diff --git a/Atom/Classes/AtomController.m b/Atom/Classes/AtomController.m index 9b7e665a0..47839fd00 100644 --- a/Atom/Classes/AtomController.m +++ b/Atom/Classes/AtomController.m @@ -7,7 +7,7 @@ @implementation AtomController -@synthesize webView, path, jscocoa; +@synthesize webView, url, jscocoa; - (void)dealloc { [jscocoa unlinkAllReferences]; @@ -15,14 +15,14 @@ [jscocoa release]; jscocoa = nil; [webView release]; - [path release]; + [url release]; [super dealloc]; } -- (id)initWithPath:(NSString *)_path { +- (id)initWithURL:(NSString *)_url { self = [super initWithWindowNibName:@"AtomWindow"]; - path = [[_path stringByStandardizingPath] retain]; + url = [[_url stringByStandardizingPath] retain]; [self.window makeKeyWindow];