Revision: 22656
          http://sourceforge.net/p/bibdesk/svn/22656
Author:   hofman
Date:     2018-09-23 12:11:36 +0000 (Sun, 23 Sep 2018)
Log Message:
-----------
don't return anything from add script command, it is pretty much meaningless

Modified Paths:
--------------
    trunk/bibdesk/BDSKAddCommand.m
    trunk/bibdesk/Scripting/BibDesk.sdef

Modified: trunk/bibdesk/BDSKAddCommand.m
===================================================================
--- trunk/bibdesk/BDSKAddCommand.m      2018-09-23 06:30:27 UTC (rev 22655)
+++ trunk/bibdesk/BDSKAddCommand.m      2018-09-23 12:11:36 UTC (rev 22656)
@@ -147,9 +147,6 @@
                             }
                         }
                     }
-                    
-                    // get the return value as an NSAppleEventDescriptor
-                    return [(isArray ? insertedObjects : [insertedObjects 
firstObject]) aeDescriptorValue];
                 }
             }
         }

Modified: trunk/bibdesk/Scripting/BibDesk.sdef
===================================================================
--- trunk/bibdesk/Scripting/BibDesk.sdef        2018-09-23 06:30:27 UTC (rev 
22655)
+++ trunk/bibdesk/Scripting/BibDesk.sdef        2018-09-23 12:11:36 UTC (rev 
22656)
@@ -450,7 +450,6 @@
                 <type type="specifier"/>
                 <type type="location specifier"/>
             </parameter>
-            <result type="any" description="The added object(s)."/>
         </command>
         
         <command name="remove" code="BDSKRemv"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to