Created
August 17, 2016 20:00
-
-
Save omariosouto/0e0c2cb1ed87cc95ad51b878ed0b07fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $components = [ | |
| 'site-accordion.comp.js' | |
| ]; | |
| var $site = $(document); | |
| $site.ready(function() { | |
| $.each( $components, function() { | |
| }) | |
| .then(function() { | |
| new SiteAccordion().init(); | |
| }); | |
| }); | |
| <site-accordion> | |
| </site-accordion> | |
| <div site-accordion="true"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment