projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Less crap in the dock menu.
[enjoyable.git]
/
NJMapping.m
diff --git
a/NJMapping.m
b/NJMapping.m
index
a5f810c
..
4e7c4b2
100644
(file)
--- a/
NJMapping.m
+++ b/
NJMapping.m
@@
-19,14
+19,14
@@
return self;
}
return self;
}
-- (
Targe
t *)objectForKeyedSubscript:(NJInput *)input {
+- (
NJOutpu
t *)objectForKeyedSubscript:(NJInput *)input {
return input ? _entries[input.uid] : nil;
}
return input ? _entries[input.uid] : nil;
}
-- (void)setObject:(
Target *)targe
t forKeyedSubscript:(NJInput *)input {
+- (void)setObject:(
NJOutput *)outpu
t forKeyedSubscript:(NJInput *)input {
if (input) {
if (input) {
- if (
targe
t)
- _entries[input.uid] =
targe
t;
+ if (
outpu
t)
+ _entries[input.uid] =
outpu
t;
else
[_entries removeObjectForKey:input.uid];
}
else
[_entries removeObjectForKey:input.uid];
}