# ----------------------------------------------------------------------------- # 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 # showNestedListsAside - show module root list on the left and all nested # lists on the right side for desktop # # Public methods: # addNestedList (listName, config, parentList) # showNestedList (listName) # hideNestedLists (exceptList) # visibleNestedListShownWithParent () # showRootList () # hideActiveList () # showView (object, config, title) # showViewByObjectId (objectId, config, title) # destroyView () # show () # hide () # # ----------------------------------------------------------------------------- class @Module constructor: (@chr, @name, @config) -> @nestedLists = {} @$el = $("