Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.467 kb
// main.m
// JSCocoaLauncher
// Created by Patrick Geiller on 01/04/09.
// Copyright __MyCompanyName__ 2009. All rights reserved.
#import <Cocoa/Cocoa.h>
#import "JSCocoa.h"
int main(int argc, char *argv[])
[JSCocoa allocAutoreleasePool];
[NSAutoreleasePool new];
id jsc = [JSCocoa sharedController];
[jsc evalJSFile:[[NSBundle mainBundle] pathForResource:@"launcher" ofType:@"js"]];
return NSApplicationMain(argc, (const char **) argv);
Jump to Line
Something went wrong with that request. Please try again.