/** * @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() { } } }
};