projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big rename part 2: 'config' etc. to 'mapping.
[enjoyable.git]
/
Target.m
diff --git
a/Target.m
b/Target.m
index
42d004c
..
097562e
100644
(file)
--- a/
Target.m
+++ b/
Target.m
@@
-38,8
+38,8
@@
}
+ (Target *)targetDeserialize:(NSDictionary *)serialization
}
+ (Target *)targetDeserialize:(NSDictionary *)serialization
- with
Configs:(NSArray *)confi
gs {
- // Don't crash loading old
confi
gs (but don't load them either).
+ with
Mappings:(NSArray *)mappin
gs {
+ // Don't crash loading old
/bad mappin
gs (but don't load them either).
if (![serialization isKindOfClass:NSDictionary.class])
return nil;
NSString *type = serialization[@"type"];
if (![serialization isKindOfClass:NSDictionary.class])
return nil;
NSString *type = serialization[@"type"];
@@
-51,7
+51,7
@@
TargetToggleMouseScope.class
]) {
if ([type isEqualToString:cls.serializationCode])
TargetToggleMouseScope.class
]) {
if ([type isEqualToString:cls.serializationCode])
- return [cls targetDeserialize:serialization with
Configs:confi
gs];
+ return [cls targetDeserialize:serialization with
Mappings:mappin
gs];
}
return nil;
}
return nil;