Release 2.0

Coordinator
Apr 1, 2013 at 10:57 PM
Edited Apr 1, 2013 at 10:57 PM
Questions, issues, support, and feedback for bob.js version 2.0.
Aug 1 at 3:15 PM
Hi ttutisani,

I am using bob.js 2.0
Below code is not updating the default values when I pass them as arguments. Please confirm should I change anything.
<html>  
    <head>
        <script src="bob.js" type="text/JavaScript"></script>
    </head>
    <body>

        <script type="text/javascript">
            
            var enableActionButtons=function(cnstCpyShreMultDsbled=true, 
            cnstNewDsbled=true,
            cnstOpenDsbled=true,
            cnstCopyDsbled=true,
            cnstShreDsbled=true,
            cnstUniqDsbled=true,
            cnstDeleteDsbled=true,
            cnstShwShreDsbled=true,
            cnstPrintDsbled=true){
                console.log('cnstCpyShreMultDsbled ', cnstCpyShreMultDsbled ,
                ', cnstOpenDsbled ',cnstOpenDsbled,
                ', cnstCopyDsbled ', cnstCopyDsbled,
                ', cnstShreDsbled ', cnstShreDsbled,
                ', cnstUniqDsbled ', cnstUniqDsbled,
                ', cnstDeleteDsbled ', cnstDeleteDsbled,
                ', cnstShwShreDsbled ', cnstShwShreDsbled,
                ', cnstPrintDsbled ', cnstPrintDsbled
                );
            }

            enableActionButtons = bob.fn.namedArgFunction(enableActionButtons); 
            enableActionButtons({cnstOpenDsbled:false});
            enableActionButtons({cnstOpenDsbled:false,cnstCopyDsbled:false,cnstShreDsbled:false,cnstUniqDsbled:false,cnstDeleteDsbled:false,cnstPrintDsbled:false});
        </script>
    </body>
</html>