mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 18:02:03 +00:00
Merge pull request #2541 from FrankReh/pullreq/cleanup/fix/syntax/protocol_list
Fix aClass.protocol_list syntax
This commit is contained in:
commit
5df8939d84
1 file changed
+1
-1
@@ -322,7 +322,7 @@ GLOBAL(class_addProtocol) = function(/*Class*/ aClass, /*Protocol*/ aProtocol)
|
||||
return;
|
||||
}
|
||||
|
||||
(aClass.protocol_list || (aClass.protocol_list == [])).push(aProtocol);
|
||||
(aClass.protocol_list || (aClass.protocol_list = [])).push(aProtocol);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user