{"size": 357, "ext": "js", "max_stars_repo_path": "Wordpress/Version2/wpTEST/themes/shapely/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/toggle.js", "max_stars_repo_name": "jeffersonbenson/Dockerfiles", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Wordpress/Version2/wpTEST/themes/shapely/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/toggle.js", "max_issues_repo_name": "jeffersonbenson/Dockerfiles", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Wordpress/Version2/wpTEST/themes/shapely/inc/libraries/epsilon-framework/assets/vendors/epsilon-framework/customizer/components/wp-customize-extenders/controls/toggle.js", "max_forks_repo_name": "jeffersonbenson/Dockerfiles", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.8, "max_line_length": 84, "alphanum_fraction": 0.6078431373}
/**
 * WP Customizer Control Constructor
 */
wp.customize.controlConstructor[ 'epsilon-toggle' ] = wp.customize.Control.extend( {
  ready: function() {
    var control = this;

    control.container.on( 'change', 'input.onoffswitch-checkbox',
        function() {
          control.setting.set( jQuery( this ).prop( 'checked' ) );
        }
    );
  }
} );
