Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- api.control.each( function( control ) {
- if ( control.expanded && control.expanded() && _.isFunction( control.collapse ) ) {
- expandedControls.push( control );
- }
- });
- api.section.each( function( section ) {
- if ( section.expanded() ) {
- expandedSections.push( section );
- }
- });
- api.panel.each( function( panel ) {
- if ( panel.expanded() ) {
- expandedPanels.push( panel );
- }
- });
- // Github sync test...
Add Comment
Please, Sign In to add comment