# ----------------------------------------------------------------------------- # 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, animate=false) # hideNestedLists (exceptList) # visibleNestedListShownWithParent () # showRootList() # hideActiveList (animate=false) # showView (object, config, title, animate=false) # showViewByObjectId (objectId, config, title, animate=false) # destroyView () # show () # hide (animate=false) # # ----------------------------------------------------------------------------- class @Module constructor: (@chr, @name, @config) -> @nestedLists = {} @$el = $("