{"version":3,"sources":["docLib.js"],"names":["openClass","initDocLib","componentId","$","find","click","e","preventDefault","console","log","targetId","this","attr","replace","toggleClass"],"mappings":"AAAA,IAAIA,UAAY,OAGhB,SAASC,WAAWC,GAEEC,EAAE,eAAiBD,GAIzBE,KAAK,sBAAsBC,OAAM,SAAUC,GACnDA,EAAEC,iBACFC,QAAQC,IAAI,0BACZ,IAAIC,EAAWP,EAAEQ,MAAMC,KAAK,QAAQC,QAAQ,IAAK,IACjDV,EAAE,IAAMO,GAAUI,YAAYd","file":"../docLib.js","sourcesContent":["var openClass = 'open';\r\n\r\n\r\nfunction initDocLib(componentId) {\r\n\r\n var $thisDocLib = $('section.doc_' + componentId);\r\n\r\n // Only apply to this doc lib\r\n\r\n $thisDocLib.find('.doc-list__title a').click(function (e) {\r\n e.preventDefault();\r\n console.log('doc list title clicked');\r\n var targetId = $(this).attr(\"href\").replace(\"#\", \"\");\r\n $('#' + targetId).toggleClass(openClass);\r\n });\r\n}"]}