( function( api ) {

	if (typeof api != "undefined") {
		// extends our custom "upgrade-to-pro" section.
		api.sectionConstructor['upgrade-to-pro'] = api.Section.extend( {

			// no events for this type of section.
			attachevents: function () {},

			// always make the section active.
			iscontextuallyactive: function () {
				return true;
			}
		} );
	}

} )( wp.customize );