Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a6cb2e2861
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.565 kb
//
// main.m
// JSCocoaLauncher
//
// Created by Patrick Geiller on 25/10/08.
// Copyright __MyCompanyName__ 2008. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "JSCocoaController.h"
int main(int argc, char *argv[])
{
[JSCocoaController allocAutoreleasePool];
// Load jscocoa list
id mainJSFile = [NSString stringWithFormat:@"%@/Contents/Resources/JSCocoaLauncher.js", [[NSBundle mainBundle] bundlePath]];
[[JSCocoaController sharedController] evalJSFile:mainJSFile];
int r = NSApplicationMain(argc, (const char **) argv);
return r;
}
Jump to Line
Something went wrong with that request. Please try again.