Help with commenting nested structure

23 views
Skip to first unread message

Marcin Krzemiński

unread,
Oct 18, 2013, 2:44:53 AM10/18/13
to yui...@googlegroups.com
Hello everyone ;),

Can you please help me how should I comment that piece of structure? I cannot find anything in the documentation that suits my needs. Thanks in advance for your help

/**
 * @class gallery
 * @module Gallery
 */
var gallery = {
    /**
     Main events handler:      
     @method init
     */
    init: function(settings) {
        ...
    },
    // How to comment this piece?        
    modal : {
        /**
         Show editable item in modal window using Storm messages plugin          
         @method modal.show <- is that name is OK? 
         */
        show : function() {
            
        }
        // How to comment this piece?        
        actions : {
            /**
             Hide modal window
             @method modal.actions.close <- is that name is OK? 
             */
            close : function() {
                
            }
        }
    }
};

Kindest regards,
Marcin
Reply all
Reply to author
Forward
0 new messages