5 // Created by Sam McCall on 4/05/09.
10 @implementation Config
12 @synthesize protect, name, entries;
15 if ((self = [super init])) {
16 entries = [[NSMutableDictionary alloc] init];
21 - (void)setTarget:(Target *)target forAction:(JSAction *)jsa {
22 entries[[jsa stringify]] = target;
25 - (Target *)getTargetForAction:(JSAction *)jsa {
26 return entries[[jsa stringify]];