# ----------------------------------------------------------------------------- # Author: Alexander Kravets , # Slate Studio (http://www.slatestudio.com) # # Coding Guide: # https://github.com/thoughtbot/guides/tree/master/style/coffeescript # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- # MODULE # ----------------------------------------------------------------------------- # Config options: # title - title used for menu and root list header # menuTitle - title used for the menu link # showNestedListsAside - show module root list on the left and all nested # lists on the right side for desktop # # Public methods: # addNestedList (listName, config, parentList) # showList() # showView (object, config, title) # showViewByObjectId (objectId, config, title) # destroyView () # show () # hide () # # ----------------------------------------------------------------------------- class @Module constructor: (@chr, @name, @config) -> @nestedLists = {} @$el = $("