diff --git a/AtomicityAppDelegate.m b/AtomicityAppDelegate.m index 0b990c97d..6c7c62fb0 100644 --- a/AtomicityAppDelegate.m +++ b/AtomicityAppDelegate.m @@ -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