Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8b8e18a067
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (18 sloc) 0.514 kB
//
// ApplicationController.m
// Multiple JSCocoa instances
//
// Created by Patrick Geiller on 22/01/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import "ApplicationController.h"
@implementation ApplicationController
id classController = nil;
//- (void)applicationDidFinishLaunching:(id)notif
- (void)awakeFromNib
{
classController = [[JSCocoa alloc] init];
id path = [[NSBundle mainBundle] pathForResource:@"classCode" ofType:@"js"];
[classController evalJSFile:path];
}
@end
Jump to Line
Something went wrong with that request. Please try again.