activate jscocoa

Esse commit está contido em:
Chris Wanstrath
2011-08-18 22:26:55 -07:00
commit 8fd4c08ec2
+4
Ver Arquivo
@@ -7,6 +7,7 @@
//
#import "AtomicityAppDelegate.h"
#import "JSCocoa.h"
@implementation AtomicityAppDelegate
@@ -24,6 +25,9 @@
id html = [[NSString alloc] initWithContentsOfURL:path];
[[webView mainFrame] loadHTMLString:html baseURL:[[NSBundle mainBundle] resourceURL]];
// https://github.com/parmanoir/jscocoa#readme
JSCocoa* jsc = [[JSCocoa alloc] initWithGlobalContext:[[webView mainFrame] globalContext]];
}
@end